b0392b8fc3
* Warn users on unsupported browsers before they lack features Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update Learn more link Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update toast styles to match Figma Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove test code Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
76 lines
1.4 KiB
Text
76 lines
1.4 KiB
Text
// 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"
|
|
>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="secondary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Ignore
|
|
</button>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="primary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Verify Session
|
|
</button>
|
|
</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"
|
|
>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="secondary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Ignore
|
|
</button>
|
|
<button
|
|
class="_button_zt6rp_17"
|
|
data-kind="primary"
|
|
data-size="sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Verify Session
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|