mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-10-31 16:23:03 +00:00
eef8cad229
* Update to compound-web 9.0.1 There are a couple of breaking changes in v9, leading to the changes in `BugReportDialog` and `EncryptionCard`. Most of these updates, however, are snapshot updates, due to changes in the CSS class names in compound web (which happens due to updates in the CSS content in those classes; `postcss-modules` generates class names based on the hash of the CSS). * update playwright screenshots
104 lines
2.1 KiB
Plaintext
104 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`keyword pills should do nothing for empty element 1`] = `
|
|
<DocumentFragment>
|
|
<div />
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`keyword pills should pillify 1`] = `
|
|
<DocumentFragment>
|
|
<div>
|
|
Foo
|
|
<bdi>
|
|
<span
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="mx_Pill mx_KeywordPill"
|
|
>
|
|
<span
|
|
class="mx_Pill_text"
|
|
>
|
|
TeST
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</bdi>
|
|
Bar
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`mention pills should do nothing for empty element 1`] = `
|
|
<DocumentFragment>
|
|
<div />
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`mention pills should pillify @room 1`] = `
|
|
<DocumentFragment>
|
|
<div>
|
|
<bdi>
|
|
<span
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="mx_Pill mx_AtRoomPill"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="_avatar_7h2br_8 mx_BaseAvatar _avatar-imageless_7h2br_55"
|
|
data-color="4"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 16px;"
|
|
>
|
|
!
|
|
</span>
|
|
<span
|
|
class="mx_Pill_text"
|
|
>
|
|
@room
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</bdi>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`mention pills should pillify @room in an intentional mentions world 1`] = `
|
|
<DocumentFragment>
|
|
<div>
|
|
<bdi>
|
|
<span
|
|
tabindex="0"
|
|
>
|
|
<span
|
|
class="mx_Pill mx_AtRoomPill"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
class="_avatar_7h2br_8 mx_BaseAvatar _avatar-imageless_7h2br_55"
|
|
data-color="4"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 16px;"
|
|
>
|
|
!
|
|
</span>
|
|
<span
|
|
class="mx_Pill_text"
|
|
>
|
|
@room
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</bdi>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|