2025-11-13 10:50:33 +00:00
|
|
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
2021-10-14 15:27:35 +02:00
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that All filter for ThreadPanelHeader properly renders Show: All threads 1`] = `
|
2022-09-22 15:08:14 +01:00
|
|
|
<DocumentFragment>
|
|
|
|
|
<div
|
2025-01-27 16:40:25 +05:30
|
|
|
class="mx_ThreadPanelHeader"
|
2022-06-16 07:22:45 +00:00
|
|
|
>
|
2024-03-28 17:38:21 +00:00
|
|
|
<button
|
2025-10-15 11:20:34 +00:00
|
|
|
aria-labelledby="_r_0_"
|
2025-06-13 10:28:43 +02:00
|
|
|
class="_icon-button_1pz9o_8"
|
|
|
|
|
data-kind="primary"
|
2024-03-28 17:38:21 +00:00
|
|
|
role="button"
|
2025-01-27 16:40:25 +05:30
|
|
|
style="--cpd-icon-button-size: 28px;"
|
2024-03-28 17:38:21 +00:00
|
|
|
tabindex="0"
|
|
|
|
|
>
|
|
|
|
|
<div
|
2025-12-02 09:57:28 +00:00
|
|
|
class="_indicator-icon_147l5_17"
|
2024-03-28 17:38:21 +00:00
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
|
>
|
2025-01-27 16:40:25 +05:30
|
|
|
<div
|
|
|
|
|
height="20"
|
|
|
|
|
width="20"
|
|
|
|
|
/>
|
2024-03-28 17:38:21 +00:00
|
|
|
</div>
|
|
|
|
|
</button>
|
|
|
|
|
<div
|
|
|
|
|
class="mx_ThreadPanel_vertical_separator"
|
|
|
|
|
/>
|
2022-09-22 15:08:14 +01: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 15:27:35 +02:00
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that My filter for ThreadPanelHeader properly renders Show: My threads 1`] = `
|
2022-09-22 15:08:14 +01:00
|
|
|
<DocumentFragment>
|
|
|
|
|
<div
|
2025-01-27 16:40:25 +05:30
|
|
|
class="mx_ThreadPanelHeader"
|
2022-06-16 07:22:45 +00:00
|
|
|
>
|
2024-03-28 17:38:21 +00:00
|
|
|
<button
|
2025-10-15 11:20:34 +00:00
|
|
|
aria-labelledby="_r_6_"
|
2025-06-13 10:28:43 +02:00
|
|
|
class="_icon-button_1pz9o_8"
|
|
|
|
|
data-kind="primary"
|
2024-03-28 17:38:21 +00:00
|
|
|
role="button"
|
2025-01-27 16:40:25 +05:30
|
|
|
style="--cpd-icon-button-size: 28px;"
|
2024-03-28 17:38:21 +00:00
|
|
|
tabindex="0"
|
|
|
|
|
>
|
|
|
|
|
<div
|
2025-12-02 09:57:28 +00:00
|
|
|
class="_indicator-icon_147l5_17"
|
2024-03-28 17:38:21 +00:00
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
|
>
|
2025-01-27 16:40:25 +05:30
|
|
|
<div
|
|
|
|
|
height="20"
|
|
|
|
|
width="20"
|
|
|
|
|
/>
|
2024-03-28 17:38:21 +00:00
|
|
|
</div>
|
|
|
|
|
</button>
|
|
|
|
|
<div
|
|
|
|
|
class="mx_ThreadPanel_vertical_separator"
|
|
|
|
|
/>
|
2022-09-22 15:08:14 +01: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 15:27:35 +02:00
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`ThreadPanel Header expect that ThreadPanelHeader has the correct option selected in the context menu 1`] = `
|
2022-09-22 15:08:14 +01:00
|
|
|
<div
|
|
|
|
|
aria-checked="true"
|
2023-09-28 12:52:26 +01:00
|
|
|
class="mx_AccessibleButton mx_ThreadPanel_Header_FilterOptionItem"
|
2021-11-29 17:42:53 +00:00
|
|
|
role="menuitemradio"
|
2022-09-22 15:08:14 +01:00
|
|
|
tabindex="0"
|
2021-10-14 15:27:35 +02:00
|
|
|
>
|
2022-09-22 15:08:14 +01:00
|
|
|
<span>
|
|
|
|
|
All threads
|
|
|
|
|
</span>
|
|
|
|
|
<span>
|
|
|
|
|
Shows all threads from current room
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
2021-10-14 15:27:35 +02:00
|
|
|
`;
|