element-web/test/unit-tests/components/views/toasts/__snapshots__/GenericToast-test.tsx.snap
Michael Telatynski b084ff2313
Prepare for repo merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00

80 lines
1.5 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`GenericToast should render as expected with detail content 1`] = `
<DocumentFragment>
<div>
<div
class="mx_Toast_description"
>
<div>
Description
</div>
</div>
<div
aria-live="off"
class="mx_Toast_buttons"
>
<button
class="_button_i91xf_17"
data-kind="secondary"
data-size="sm"
role="button"
tabindex="0"
>
Reject
</button>
<button
class="_button_i91xf_17"
data-kind="primary"
data-size="sm"
role="button"
tabindex="0"
>
Accept
</button>
</div>
</div>
</DocumentFragment>
`;
exports[`GenericToast should render as expected without detail content 1`] = `
<DocumentFragment>
<div>
<div
class="mx_Toast_description"
>
<div>
Description
</div>
<div
class="mx_Toast_detail"
>
Detail
</div>
</div>
<div
aria-live="off"
class="mx_Toast_buttons"
>
<button
class="_button_i91xf_17"
data-kind="secondary"
data-size="sm"
role="button"
tabindex="0"
>
Reject
</button>
<button
class="_button_i91xf_17"
data-kind="primary"
data-size="sm"
role="button"
tabindex="0"
>
Accept
</button>
</div>
</div>
</DocumentFragment>
`;