2023-02-01 20:57:48 +00: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
|
2023-08-24 17:12:28 +00:00
|
|
|
class="_avatar_2lhia_17 mx_BaseAvatar _avatar-imageless_2lhia_56"
|
2023-08-24 03:48:35 +00:00
|
|
|
data-color="7"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-02-01 20:57:48 +00:00
|
|
|
role="presentation"
|
2023-08-24 03:48:35 +00:00
|
|
|
style="--cpd-avatar-size: 54px;"
|
2023-09-01 09:45:50 +00:00
|
|
|
title="!room:domain.org"
|
2023-02-01 20:57:48 +00:00
|
|
|
>
|
2023-08-24 03:48:35 +00:00
|
|
|
!
|
2023-02-01 20:57:48 +00:00
|
|
|
</span>
|
|
|
|
<div
|
2023-08-09 08:39:48 +00:00
|
|
|
aria-describedby="mx_TooltipTarget_vY7Q4uEh"
|
2023-02-01 20:57:48 +00:00
|
|
|
class="mx_TextWithTooltip_target mx_RoomSummaryCard_e2ee"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
2023-04-20 17:13:30 +00:00
|
|
|
<h1
|
2023-05-09 07:56:09 +00:00
|
|
|
class="mx_RoomSummaryCard_roomName"
|
2023-02-01 20:57:48 +00:00
|
|
|
title="!room:domain.org"
|
|
|
|
>
|
|
|
|
!room:domain.org
|
2023-04-20 17:13:30 +00:00
|
|
|
</h1>
|
2023-02-01 20:57:48 +00:00
|
|
|
<div
|
|
|
|
class="mx_RoomSummaryCard_alias"
|
|
|
|
title=""
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_AutoHideScrollbar"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_Group mx_RoomSummaryCard_aboutGroup"
|
|
|
|
>
|
2023-04-20 17:13:30 +00:00
|
|
|
<h2>
|
2023-02-01 20:57:48 +00:00
|
|
|
About
|
2023-04-20 17:13:30 +00:00
|
|
|
</h2>
|
2023-02-01 20:57:48 +00:00
|
|
|
<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>
|
2023-03-15 20:54:12 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_BaseCard_Button mx_RoomSummaryCard_Button mx_RoomSummaryCard_icon_poll"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2023-03-28 22:13:51 +00:00
|
|
|
Poll history
|
2023-03-15 20:54:12 +00:00
|
|
|
</div>
|
2023-02-01 20:57:48 +00:00
|
|
|
<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-02 21:39:23 +00:00
|
|
|
data-testid="shareRoomButton"
|
2023-02-01 20:57:48 +00: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"
|
|
|
|
>
|
2023-04-20 17:13:30 +00:00
|
|
|
<h2>
|
2023-02-01 20:57:48 +00:00
|
|
|
Widgets
|
2023-04-20 17:13:30 +00:00
|
|
|
</h2>
|
2023-02-01 20:57:48 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Add widgets, bridges & bots
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|