This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
fix automatic DM avatar with functional members #24075
Annotations
2 errors and 2 warnings
Run tests:
test/components/views/avatars/DecoratedRoomAvatar-test.tsx#L102
expect(received).toMatchSnapshot()
Snapshot name: `DecoratedRoomAvatar shows the presence indicator in a DM room that also has functional members 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
<DocumentFragment>
<div
class="mx_DecoratedRoomAvatar mx_DecoratedRoomAvatar_cutout"
>
<span
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_60"
data-color="5"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
>
r
</span>
<div
aria-describedby="radix-3"
class="mx_DecoratedRoomAvatar_icon mx_DecoratedRoomAvatar_icon_online"
data-state="delayed-open"
tabindex="0"
/>
</div>
</DocumentFragment>
at Object.toMatchSnapshot (test/components/views/avatars/DecoratedRoomAvatar-test.tsx:102:30)
|
Run tests
Process completed with exit code 1.
|
Run tests:
test/components/views/avatars/DecoratedRoomAvatar-test.tsx#L102
expect(received).toMatchSnapshot()
Snapshot name: `DecoratedRoomAvatar shows the presence indicator in a DM room that also has functional members 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
<DocumentFragment>
<div
class="mx_DecoratedRoomAvatar mx_DecoratedRoomAvatar_cutout"
>
<span
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_60"
data-color="5"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
>
r
</span>
<div
aria-describedby="radix-1"
class="mx_DecoratedRoomAvatar_icon mx_DecoratedRoomAvatar_icon_online"
data-state="delayed-open"
tabindex="0"
/>
</div>
</DocumentFragment>
at Object.toMatchSnapshot (test/components/views/avatars/DecoratedRoomAvatar-test.tsx:102:30)
|
Run tests:
test/components/views/avatars/DecoratedRoomAvatar-test.tsx#L102
expect(received).toMatchSnapshot()
Snapshot name: `DecoratedRoomAvatar shows the presence indicator in a DM room that also has functional members 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
<DocumentFragment>
<div
class="mx_DecoratedRoomAvatar mx_DecoratedRoomAvatar_cutout"
>
<span
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_60"
data-color="5"
data-testid="avatar-img"
data-type="round"
role="presentation"
style="--cpd-avatar-size: 32px;"
>
r
</span>
<div
aria-describedby="radix-2"
class="mx_DecoratedRoomAvatar_icon mx_DecoratedRoomAvatar_icon_online"
data-state="delayed-open"
tabindex="0"
/>
</div>
</DocumentFragment>
at Object.toMatchSnapshot (test/components/views/avatars/DecoratedRoomAvatar-test.tsx:102:30)
|
The logs for this run have expired and are no longer available.
Loading