2022-10-12 17:00:37 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`VoiceBroadcastHeader when rendering a live broadcast header with broadcast info should render the header with a live badge 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader"
|
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
<div
|
|
|
|
data-testid="room-avatar"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
room avatar:
|
|
|
|
!room:example.com
|
|
|
|
</div>
|
2022-10-12 17:00:37 +03:00
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_content"
|
|
|
|
>
|
|
|
|
<div
|
2022-10-14 11:09:38 +03:00
|
|
|
class="mx_VoiceBroadcastHeader_room"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
!room:example.com
|
2022-10-12 17:00:37 +03:00
|
|
|
</div>
|
|
|
|
<div
|
2022-10-14 11:09:38 +03:00
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
<i
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_Icon mx_Icon_16 mx_Icon_compound-secondary-content"
|
|
|
|
role="presentation"
|
|
|
|
style="mask-image: url(\\"image-file-stub\\");"
|
|
|
|
/>
|
2022-10-17 19:13:06 +03:00
|
|
|
<span>
|
|
|
|
test user
|
|
|
|
</span>
|
2022-10-12 17:00:37 +03:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_Icon mx_Icon_16 mx_Icon_compound-secondary-content"
|
|
|
|
role="presentation"
|
|
|
|
style="mask-image: url(\\"image-file-stub\\");"
|
|
|
|
/>
|
|
|
|
Voice broadcast
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_LiveBadge"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_Icon mx_Icon_16 mx_Icon_live-badge"
|
|
|
|
role="presentation"
|
|
|
|
style="mask-image: url(\\"image-file-stub\\");"
|
|
|
|
/>
|
|
|
|
Live
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`VoiceBroadcastHeader when rendering a non-live broadcast header should render the header without a live badge 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader"
|
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
<div
|
|
|
|
data-testid="room-avatar"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
room avatar:
|
|
|
|
!room:example.com
|
|
|
|
</div>
|
2022-10-12 17:00:37 +03:00
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_content"
|
|
|
|
>
|
|
|
|
<div
|
2022-10-14 11:09:38 +03:00
|
|
|
class="mx_VoiceBroadcastHeader_room"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
!room:example.com
|
2022-10-12 17:00:37 +03:00
|
|
|
</div>
|
|
|
|
<div
|
2022-10-14 11:09:38 +03:00
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
2022-10-12 17:00:37 +03:00
|
|
|
>
|
2022-10-14 11:09:38 +03:00
|
|
|
<i
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_Icon mx_Icon_16 mx_Icon_compound-secondary-content"
|
|
|
|
role="presentation"
|
|
|
|
style="mask-image: url(\\"image-file-stub\\");"
|
|
|
|
/>
|
2022-10-17 19:13:06 +03:00
|
|
|
<span>
|
|
|
|
test user
|
|
|
|
</span>
|
2022-10-12 17:00:37 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|