Update snapshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
f26225c30d
commit
85abde7545
1 changed files with 87 additions and 51 deletions
|
@ -1,53 +1,5 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// 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"
|
|
||||||
/>
|
|
||||||
<ul
|
|
||||||
class="mx_IconizedContextMenu mx_RoomGeneralContextMenu mx_IconizedContextMenu_compact"
|
|
||||||
role="none"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
|
||||||
/>
|
|
||||||
<div
|
|
||||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
|
||||||
>
|
|
||||||
<li
|
|
||||||
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>
|
|
||||||
</li>
|
|
||||||
</div>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
|
@ -70,12 +22,96 @@ exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
||||||
|
>
|
||||||
|
<li
|
||||||
|
aria-label="Mark as unread"
|
||||||
|
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||||
|
role="menuitem"
|
||||||
|
tabindex="0"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconMarkAsUnread"
|
||||||
/>
|
/>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_label"
|
||||||
|
>
|
||||||
|
Mark as unread
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
<div
|
||||||
|
aria-checked="false"
|
||||||
|
aria-label="Favourite"
|
||||||
|
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||||
|
role="menuitemcheckbox"
|
||||||
|
tabindex="-1"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconStar"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_label"
|
||||||
|
>
|
||||||
|
Favourite
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_IconizedContextMenu_unchecked"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
aria-checked="false"
|
||||||
|
aria-label="Low Priority"
|
||||||
|
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||||
|
role="menuitemcheckbox"
|
||||||
|
tabindex="-1"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconArrowDown"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_label"
|
||||||
|
>
|
||||||
|
Low Priority
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_IconizedContextMenu_unchecked"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<li
|
||||||
|
aria-label="Copy room link"
|
||||||
|
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||||
|
role="menuitem"
|
||||||
|
tabindex="-1"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconCopyLink"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_label"
|
||||||
|
>
|
||||||
|
Copy room link
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
<li
|
||||||
|
aria-label="Settings"
|
||||||
|
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||||
|
role="menuitem"
|
||||||
|
tabindex="-1"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconSettings"
|
||||||
|
/>
|
||||||
|
<span
|
||||||
|
class="mx_IconizedContextMenu_label"
|
||||||
|
>
|
||||||
|
Settings
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
||||||
>
|
>
|
||||||
<li
|
<li
|
||||||
aria-label="Forget Room"
|
aria-label="Leave"
|
||||||
class="mx_AccessibleButton mx_IconizedContextMenu_option_red mx_IconizedContextMenu_item"
|
class="mx_AccessibleButton mx_IconizedContextMenu_option_red mx_IconizedContextMenu_item"
|
||||||
role="menuitem"
|
role="menuitem"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
|
@ -86,7 +122,7 @@ exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
||||||
<span
|
<span
|
||||||
class="mx_IconizedContextMenu_label"
|
class="mx_IconizedContextMenu_label"
|
||||||
>
|
>
|
||||||
Forget Room
|
Leave
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue