* Update vector-im * Update Jest snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix playwright styling overrides Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Hold back Compound Design Tokens as threads icons unexpectedly grew a dot in the top corner where we conditionally draw a dot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update Compound Design Tokens to 6.4.1 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Revert snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Tweak bubble Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update storybook snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update jest snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update jest snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
86 lines
1.8 KiB
Plaintext
86 lines
1.8 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`RoomAvatar should not render an invite avatar if the user has disabled it 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_zysgz_8 mx_BaseAvatar _avatar-imageless_zysgz_55"
|
|
data-color="6"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
t
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render an avatar for a room the user is invited to 1`] = `
|
|
<div>
|
|
<span
|
|
aria-label="Avatar"
|
|
class="_avatar_zysgz_8 mx_BaseAvatar"
|
|
data-color="6"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
<img
|
|
alt=""
|
|
class="_image_zysgz_43"
|
|
data-type="round"
|
|
height="36px"
|
|
loading="lazy"
|
|
referrerpolicy="no-referrer"
|
|
src="http://this.is.a.url/example.com/foobar"
|
|
width="36px"
|
|
/>
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a DM room 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_zysgz_8 mx_BaseAvatar _avatar-imageless_zysgz_55"
|
|
data-color="1"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
D
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a LocalRoom 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_zysgz_8 mx_BaseAvatar _avatar-imageless_zysgz_55"
|
|
data-color="3"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
l
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a Room 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_zysgz_8 mx_BaseAvatar _avatar-imageless_zysgz_55"
|
|
data-color="6"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
t
|
|
</span>
|
|
</div>
|
|
`;
|