2023-06-07 14:43:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`VerificationRequestToast should render a cross-user verification 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
@alice:domain (@other:user)
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<button
|
|
|
|
class="_button_zt6rp_17"
|
|
|
|
data-kind="secondary"
|
|
|
|
data-size="sm"
|
2023-06-07 14:43:44 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2023-06-14 14:35:32 +00:00
|
|
|
Ignore
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="_button_zt6rp_17"
|
|
|
|
data-kind="primary"
|
|
|
|
data-size="sm"
|
2023-06-07 14:43:44 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Verify Session
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
2023-06-07 14:43:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`VerificationRequestToast should render a self-verification 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
my other device
|
|
|
|
<div
|
|
|
|
class="mx_Toast_detail"
|
|
|
|
>
|
|
|
|
other_device from 1.1.1.1
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<button
|
|
|
|
class="_button_zt6rp_17"
|
|
|
|
data-kind="secondary"
|
|
|
|
data-size="sm"
|
2023-06-07 14:43:44 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2023-06-14 14:35:32 +00:00
|
|
|
Ignore
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="_button_zt6rp_17"
|
|
|
|
data-kind="primary"
|
|
|
|
data-size="sm"
|
2023-06-07 14:43:44 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Verify Session
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
2023-06-07 14:43:44 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|