2022-12-22 21:18:38 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`RoomGeneralContextMenu renders an empty context menu for archived rooms 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_wrapper"
|
|
|
|
style="top: 1px; left: 1px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_background"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu mx_ContextualMenu_withChevron_left"
|
|
|
|
role="menu"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_chevron_left"
|
|
|
|
/>
|
2023-05-15 21:33:49 +08:00
|
|
|
<ul
|
2022-12-22 21:18:38 +08:00
|
|
|
class="mx_IconizedContextMenu mx_RoomGeneralContextMenu mx_IconizedContextMenu_compact"
|
2023-05-15 21:33:49 +08:00
|
|
|
role="none"
|
2022-12-22 21:18:38 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
2023-01-11 19:49:03 +08:00
|
|
|
/>
|
2022-12-22 21:18:38 +08:00
|
|
|
<div
|
|
|
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
|
|
|
>
|
2023-05-15 21:33:49 +08:00
|
|
|
<li
|
2022-12-22 21:18:38 +08:00
|
|
|
aria-label="Forget Room"
|
|
|
|
class="mx_AccessibleButton mx_IconizedContextMenu_option_red mx_IconizedContextMenu_item"
|
|
|
|
role="menuitem"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconSignOut"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_IconizedContextMenu_label"
|
|
|
|
>
|
|
|
|
Forget Room
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>
|
2022-12-22 21:18:38 +08:00
|
|
|
</div>
|
2023-05-15 21:33:49 +08:00
|
|
|
</ul>
|
2022-12-22 21:18:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_wrapper"
|
|
|
|
style="top: 1px; left: 1px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_background"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu mx_ContextualMenu_withChevron_left"
|
|
|
|
role="menu"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ContextualMenu_chevron_left"
|
|
|
|
/>
|
2023-05-15 21:33:49 +08:00
|
|
|
<ul
|
2022-12-22 21:18:38 +08:00
|
|
|
class="mx_IconizedContextMenu mx_RoomGeneralContextMenu mx_IconizedContextMenu_compact"
|
2023-05-15 21:33:49 +08:00
|
|
|
role="none"
|
2022-12-22 21:18:38 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
2023-01-11 19:49:03 +08:00
|
|
|
/>
|
2022-12-22 21:18:38 +08:00
|
|
|
<div
|
|
|
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
|
|
|
>
|
2023-05-15 21:33:49 +08:00
|
|
|
<li
|
2022-12-22 21:18:38 +08:00
|
|
|
aria-label="Forget Room"
|
|
|
|
class="mx_AccessibleButton mx_IconizedContextMenu_option_red mx_IconizedContextMenu_item"
|
|
|
|
role="menuitem"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconSignOut"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_IconizedContextMenu_label"
|
|
|
|
>
|
|
|
|
Forget Room
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>
|
2022-12-22 21:18:38 +08:00
|
|
|
</div>
|
2023-05-15 21:33:49 +08:00
|
|
|
</ul>
|
2022-12-22 21:18:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|