2023-02-02 04:57:48 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<RoomSummaryCard /> renders the room summary 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard mx_RoomSummaryCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_header"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_close"
|
|
|
|
data-testid="base-card-close-button"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
title="Close"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_RoomSummaryCard_avatar"
|
|
|
|
role="presentation"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_BaseAvatar"
|
|
|
|
role="presentation"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-hidden="true"
|
2023-02-02 18:22:19 +08:00
|
|
|
class="mx_BaseAvatar_initial"
|
|
|
|
style="font-size: 35.1px; width: 54px; line-height: 54px;"
|
2023-02-02 04:57:48 +08:00
|
|
|
>
|
|
|
|
!
|
|
|
|
</span>
|
2023-02-02 18:22:19 +08:00
|
|
|
<img
|
|
|
|
alt=""
|
|
|
|
aria-hidden="true"
|
|
|
|
class="mx_BaseAvatar_image"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
src="data:image/png;base64,00"
|
|
|
|
style="width: 54px; height: 54px;"
|
|
|
|
/>
|
2023-02-02 04:57:48 +08:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_TextWithTooltip_target mx_RoomSummaryCard_e2ee"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<h2
|
|
|
|
title="!room:domain.org"
|
|
|
|
>
|
|
|
|
!room:domain.org
|
|
|
|
</h2>
|
|
|
|
<div
|
|
|
|
class="mx_RoomSummaryCard_alias"
|
|
|
|
title=""
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_Group mx_RoomSummaryCard_aboutGroup"
|
|
|
|
>
|
|
|
|
<h1>
|
|
|
|
About
|
|
|
|
</h1>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_people"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
People
|
|
|
|
<span
|
|
|
|
class="mx_BaseCard_Button_sublabel"
|
|
|
|
>
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_files"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Files
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_export"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Export chat
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_share"
|
2023-02-03 05:39:23 +08:00
|
|
|
data-testid="shareRoomButton"
|
2023-02-02 04:57:48 +08:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Share room
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_settings"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Room settings
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_Group mx_RoomSummaryCard_appsGroup"
|
|
|
|
>
|
|
|
|
<h1>
|
|
|
|
Widgets
|
|
|
|
</h1>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Add widgets, bridges & bots
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|