2021-10-14 21:27:35 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that All filter for ThreadPanelHeader properly renders Show: All threads 1`] = `
|
2022-09-22 22:08:14 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_header_title"
|
2021-10-14 21:27:35 +08:00
|
|
|
>
|
2022-09-22 22:08:14 +08:00
|
|
|
<h4
|
|
|
|
class="mx_Heading_h4 mx_BaseCard_header_title_heading"
|
|
|
|
>
|
|
|
|
Threads
|
|
|
|
</h4>
|
2024-03-29 01:38:21 +08:00
|
|
|
<button
|
|
|
|
aria-label="Mark all as read"
|
2024-06-24 20:51:10 +08:00
|
|
|
class="_icon-button_rijzz_17"
|
2024-03-29 01:38:21 +08:00
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 24px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
</button>
|
|
|
|
<div
|
|
|
|
class="mx_ThreadPanel_vertical_separator"
|
|
|
|
/>
|
2022-09-22 22:08:14 +08:00
|
|
|
<div
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="true"
|
|
|
|
class="mx_AccessibleButton mx_ThreadPanel_dropdown"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Show: All threads
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
2021-10-14 21:27:35 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that My filter for ThreadPanelHeader properly renders Show: My threads 1`] = `
|
2022-09-22 22:08:14 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_header_title"
|
2021-10-14 21:27:35 +08:00
|
|
|
>
|
2022-09-22 22:08:14 +08:00
|
|
|
<h4
|
|
|
|
class="mx_Heading_h4 mx_BaseCard_header_title_heading"
|
|
|
|
>
|
|
|
|
Threads
|
|
|
|
</h4>
|
2024-03-29 01:38:21 +08:00
|
|
|
<button
|
|
|
|
aria-label="Mark all as read"
|
2024-06-24 20:51:10 +08:00
|
|
|
class="_icon-button_rijzz_17"
|
2024-03-29 01:38:21 +08:00
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 24px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
</button>
|
|
|
|
<div
|
|
|
|
class="mx_ThreadPanel_vertical_separator"
|
|
|
|
/>
|
2022-09-22 22:08:14 +08:00
|
|
|
<div
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="true"
|
|
|
|
class="mx_AccessibleButton mx_ThreadPanel_dropdown"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Show: My threads
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
2021-10-14 21:27:35 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that ThreadPanelHeader has the correct option selected in the context menu 1`] = `
|
2022-09-22 22:08:14 +08:00
|
|
|
<div
|
|
|
|
aria-checked="true"
|
2023-09-28 19:52:26 +08:00
|
|
|
class="mx_AccessibleButton mx_ThreadPanel_Header_FilterOptionItem"
|
2021-11-30 01:42:53 +08:00
|
|
|
role="menuitemradio"
|
2022-09-22 22:08:14 +08:00
|
|
|
tabindex="0"
|
2021-10-14 21:27:35 +08:00
|
|
|
>
|
2022-09-22 22:08:14 +08:00
|
|
|
<span>
|
|
|
|
All threads
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Shows all threads from current room
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-10-14 21:27:35 +08:00
|
|
|
`;
|
2024-03-29 01:38:21 +08:00
|
|
|
|
|
|
|
exports[`ThreadPanel Header matches snapshot when no threads 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div
|
|
|
|
class="mx_BaseCard_header_title"
|
|
|
|
>
|
|
|
|
<h4
|
|
|
|
class="mx_Heading_h4 mx_BaseCard_header_title_heading"
|
|
|
|
>
|
|
|
|
Threads
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|