2022-10-14 04:13:17 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-10-20 08:04:14 +00:00
|
|
|
exports[`VoiceBroadcastPlaybackBody when rendering a 0 broadcast should render as expected 1`] = `
|
2022-10-14 04:13:17 +00:00
|
|
|
<div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody"
|
2022-10-14 04:13:17 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader"
|
|
|
|
>
|
2022-10-14 08:09:38 +00:00
|
|
|
<div
|
|
|
|
data-testid="room-avatar"
|
2022-10-14 04:13:17 +00:00
|
|
|
>
|
2022-10-14 08:09:38 +00:00
|
|
|
room avatar:
|
|
|
|
My room
|
|
|
|
</div>
|
2022-10-14 04:13:17 +00:00
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_content"
|
|
|
|
>
|
|
|
|
<div
|
2022-10-14 08:09:38 +00:00
|
|
|
class="mx_VoiceBroadcastHeader_room"
|
2022-10-14 04:13:17 +00:00
|
|
|
>
|
2022-10-14 08:09:38 +00:00
|
|
|
My room
|
2022-10-14 04:13:17 +00:00
|
|
|
</div>
|
|
|
|
<div
|
2022-10-14 08:09:38 +00:00
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
2022-10-14 04:13:17 +00:00
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-14 08:09:38 +00:00
|
|
|
/>
|
2022-10-17 16:13:06 +00:00
|
|
|
<span>
|
|
|
|
@user:example.com
|
|
|
|
</span>
|
2022-10-14 04:13:17 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-14 04:13:17 +00:00
|
|
|
/>
|
|
|
|
Voice broadcast
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-17 12:31:03 +00:00
|
|
|
<div
|
|
|
|
class="mx_LiveBadge"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-17 12:31:03 +00:00
|
|
|
/>
|
|
|
|
Live
|
|
|
|
</div>
|
2022-10-14 04:13:17 +00:00
|
|
|
</div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody_controls"
|
2022-10-14 04:13:17 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-label="resume voice broadcast"
|
2022-10-20 08:04:14 +00:00
|
|
|
class="mx_AccessibleButton mx_VoiceBroadcastControl"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`VoiceBroadcastPlaybackBody when rendering a 1 broadcast should render as expected 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody"
|
2022-10-20 08:04:14 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
data-testid="room-avatar"
|
|
|
|
>
|
|
|
|
room avatar:
|
|
|
|
My room
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_room"
|
|
|
|
>
|
|
|
|
My room
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
|
|
|
/>
|
|
|
|
<span>
|
|
|
|
@user:example.com
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
|
|
|
/>
|
|
|
|
Voice broadcast
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_LiveBadge"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
|
|
|
/>
|
|
|
|
Live
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody_controls"
|
2022-10-20 08:04:14 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-label="pause voice broadcast"
|
|
|
|
class="mx_AccessibleButton mx_VoiceBroadcastControl"
|
2022-10-14 04:13:17 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-14 04:13:17 +00:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2022-10-17 15:35:13 +00:00
|
|
|
|
|
|
|
exports[`VoiceBroadcastPlaybackBody when rendering a buffering voice broadcast should render as expected 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody"
|
2022-10-17 15:35:13 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
data-testid="room-avatar"
|
|
|
|
>
|
|
|
|
room avatar:
|
|
|
|
My room
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_room"
|
|
|
|
>
|
|
|
|
My room
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-17 15:35:13 +00:00
|
|
|
/>
|
2022-10-17 16:13:06 +00:00
|
|
|
<span>
|
|
|
|
@user:example.com
|
|
|
|
</span>
|
2022-10-17 15:35:13 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_VoiceBroadcastHeader_line"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-17 15:35:13 +00:00
|
|
|
/>
|
|
|
|
Voice broadcast
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_LiveBadge"
|
|
|
|
>
|
2022-10-20 08:04:14 +00:00
|
|
|
<div
|
|
|
|
class="mx_Icon mx_Icon_16"
|
2022-10-17 15:35:13 +00:00
|
|
|
/>
|
|
|
|
Live
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2022-10-26 11:45:39 +00:00
|
|
|
class="mx_VoiceBroadcastBody_controls"
|
2022-10-17 15:35:13 +00:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Spinner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-label="Loading..."
|
|
|
|
class="mx_Spinner_icon"
|
2022-10-20 11:48:25 +00:00
|
|
|
data-testid="spinner"
|
2022-10-17 15:35:13 +00:00
|
|
|
role="progressbar"
|
|
|
|
style="width: 32px; height: 32px;"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|