2023-02-23 09:25:33 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`UnverifiedSessionToast when rendering the toast should render as expected 1`] = `
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_ToastContainer"
|
|
|
|
role="alert"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_toast mx_Toast_hasIcon mx_Toast_icon_verification_warning"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_title"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<h2
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83"
|
|
|
|
>
|
2023-02-23 09:25:33 +00:00
|
|
|
New login. Was this you?
|
|
|
|
</h2>
|
|
|
|
<span
|
|
|
|
class="mx_Toast_title_countIndicator"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
2023-04-28 14:56:26 +00:00
|
|
|
<div
|
|
|
|
class="mx_Toast_detail"
|
2023-02-23 09:25:33 +00:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
data-testid="device-metadata-isVerified"
|
|
|
|
>
|
|
|
|
Verified
|
|
|
|
</span>
|
|
|
|
·
|
|
|
|
<span
|
|
|
|
data-testid="device-metadata-deviceId"
|
|
|
|
>
|
|
|
|
ABC123
|
|
|
|
</span>
|
2023-04-28 14:56:26 +00:00
|
|
|
</div>
|
2023-02-23 09:25:33 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17 _destructive_i91xf_116"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="secondary"
|
|
|
|
data-size="sm"
|
2023-02-23 09:25:33 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
No
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="primary"
|
|
|
|
data-size="sm"
|
2023-02-23 09:25:33 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Yes, it was me
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
2023-02-23 09:25:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
`;
|