2023-04-26 13:23:32 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`ManualDeviceKeyVerificationDialog should display the device 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-describedby="mx_Dialog_content"
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_QuestionDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 16:38:32 +03:00
|
|
|
class="mx_Dialog_header"
|
2023-04-26 13:23:32 +03:00
|
|
|
>
|
2024-02-16 17:23:33 +03:00
|
|
|
<h1
|
2023-07-04 19:54:28 +03:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2023-04-26 13:23:32 +03:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Verify session
|
2024-02-16 17:23:33 +03:00
|
|
|
</h1>
|
2023-04-26 13:23:32 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_content"
|
|
|
|
id="mx_Dialog_content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Confirm by comparing the following with the User Settings in your other session:
|
|
|
|
</p>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceVerifyDialog_cryptoSection"
|
|
|
|
>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session name
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
my device
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session ID
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
<code>
|
|
|
|
XYZ
|
|
|
|
</code>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session key
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
<code>
|
2024-09-13 14:34:15 +03:00
|
|
|
<strong>
|
2023-04-26 13:23:32 +03:00
|
|
|
ABCD EFGH
|
2024-09-13 14:34:15 +03:00
|
|
|
</strong>
|
2023-04-26 13:23:32 +03:00
|
|
|
</code>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
If they don't match, the security of your communication may be compromised.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_buttons"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Dialog_buttons_row"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
data-testid="dialog-cancel-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="mx_Dialog_primary"
|
|
|
|
data-testid="dialog-primary-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Verify session
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2024-06-20 12:29:38 +03:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2023-04-26 13:23:32 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`ManualDeviceKeyVerificationDialog should display the device of another user 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-describedby="mx_Dialog_content"
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_QuestionDialog mx_Dialog_fixedWidth"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 16:38:32 +03:00
|
|
|
class="mx_Dialog_header"
|
2023-04-26 13:23:32 +03:00
|
|
|
>
|
2024-02-16 17:23:33 +03:00
|
|
|
<h1
|
2023-07-04 19:54:28 +03:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2023-04-26 13:23:32 +03:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Verify session
|
2024-02-16 17:23:33 +03:00
|
|
|
</h1>
|
2023-04-26 13:23:32 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_content"
|
|
|
|
id="mx_Dialog_content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Confirm this user's session by comparing the following with their User Settings:
|
|
|
|
</p>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceVerifyDialog_cryptoSection"
|
|
|
|
>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session name
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
my device
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session ID
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
<code>
|
|
|
|
XYZ
|
|
|
|
</code>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<label>
|
|
|
|
Session key
|
|
|
|
:
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<span>
|
|
|
|
<code>
|
2024-09-13 14:34:15 +03:00
|
|
|
<strong>
|
2023-04-26 13:23:32 +03:00
|
|
|
ABCD EFGH
|
2024-09-13 14:34:15 +03:00
|
|
|
</strong>
|
2023-04-26 13:23:32 +03:00
|
|
|
</code>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
If they don't match, the security of your communication may be compromised.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Dialog_buttons"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Dialog_buttons_row"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
data-testid="dialog-cancel-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="mx_Dialog_primary"
|
|
|
|
data-testid="dialog-primary-button"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
Verify session
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2024-06-20 12:29:38 +03:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2023-04-26 13:23:32 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|