2023-08-30 19:55:02 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`RoomHeader does not show the face pile for DMs 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<header
|
|
|
|
class="mx_Flex mx_RoomHeader light-panel"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x);"
|
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<button
|
|
|
|
aria-label="Room info"
|
|
|
|
class="mx_RoomHeader_infoWrapper"
|
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<span
|
|
|
|
class="_avatar_1o69u_17 mx_BaseAvatar _avatar-imageless_1o69u_60"
|
|
|
|
data-color="7"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
|
|
|
role="presentation"
|
|
|
|
style="--cpd-avatar-size: 40px;"
|
|
|
|
>
|
|
|
|
!
|
|
|
|
</span>
|
2023-08-30 19:55:02 +02:00
|
|
|
<div
|
2023-11-28 22:15:21 +01:00
|
|
|
class="mx_Box mx_RoomHeader_info mx_Box--flex"
|
|
|
|
style="--mx-box-flex: 1;"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<div
|
|
|
|
aria-level="1"
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83 mx_RoomHeader_heading"
|
|
|
|
dir="auto"
|
|
|
|
role="heading"
|
2023-10-11 16:43:01 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<span
|
|
|
|
class="mx_RoomHeader_truncated mx_lineClamp"
|
|
|
|
>
|
|
|
|
!1:example.org
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</div>
|
2023-11-28 22:15:21 +01:00
|
|
|
</button>
|
2023-08-30 19:55:02 +02:00
|
|
|
<nav
|
|
|
|
class="mx_Flex"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x);"
|
|
|
|
>
|
|
|
|
<button
|
2023-12-14 12:10:01 +01:00
|
|
|
aria-disabled="true"
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="There's no one here to call"
|
2023-12-14 12:10:01 +01:00
|
|
|
class="_icon-button_ur2sw_17"
|
2023-09-04 13:42:27 +02:00
|
|
|
data-state="closed"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</button>
|
|
|
|
<button
|
2023-12-14 12:10:01 +01:00
|
|
|
aria-disabled="true"
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="There's no one here to call"
|
2023-12-14 12:10:01 +01:00
|
|
|
class="_icon-button_ur2sw_17"
|
2023-09-04 13:42:27 +02:00
|
|
|
data-state="closed"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</button>
|
|
|
|
<button
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="Threads"
|
2023-12-14 12:10:01 +01:00
|
|
|
class="_icon-button_ur2sw_17"
|
2023-09-04 13:42:27 +02:00
|
|
|
data-state="closed"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</button>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|