2022-08-01 14:47:13 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<UserSettingsDialog /> renders tabs correctly 1`] = `
|
|
|
|
NodeList [
|
2023-05-15 21:33:49 +08:00
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_GENERAL_TAB"
|
|
|
|
aria-selected="true"
|
2022-08-01 14:47:13 +08:00
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel mx_TabbedView_tabLabel_active"
|
|
|
|
data-testid="settings-tab-USER_GENERAL_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
2022-08-01 14:47:13 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_settingsIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_GENERAL_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
General
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
2024-03-22 23:50:06 +08:00
|
|
|
<li
|
|
|
|
aria-controls="mx_tabpanel_USER_SESSION_MANAGER_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
|
|
|
data-testid="settings-tab-USER_SESSION_MANAGER_TAB"
|
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_sessionsIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
|
|
|
id="mx_tabpanel_USER_SESSION_MANAGER_TAB_label"
|
|
|
|
>
|
|
|
|
Sessions
|
|
|
|
</span>
|
|
|
|
</li>,
|
2023-05-15 21:33:49 +08:00
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_APPEARANCE_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_APPEARANCE_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_appearanceIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_APPEARANCE_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Appearance
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_NOTIFICATIONS_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_NOTIFICATIONS_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_bellIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_NOTIFICATIONS_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Notifications
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_PREFERENCES_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_PREFERENCES_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_preferencesIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_PREFERENCES_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Preferences
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_KEYBOARD_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_KEYBOARD_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_keyboardIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_KEYBOARD_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Keyboard
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_SIDEBAR_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_SIDEBAR_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_sidebarIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_SIDEBAR_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Sidebar
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_SECURITY_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_SECURITY_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_securityIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_SECURITY_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Security & Privacy
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_LABS_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_LABS_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_labsIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_LABS_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Labs
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
|
|
|
<li
|
2023-04-25 16:31:54 +08:00
|
|
|
aria-controls="mx_tabpanel_USER_HELP_TAB"
|
|
|
|
aria-selected="false"
|
|
|
|
class="mx_AccessibleButton mx_TabbedView_tabLabel"
|
2022-08-01 14:47:13 +08:00
|
|
|
data-testid="settings-tab-USER_HELP_TAB"
|
2023-04-25 16:31:54 +08:00
|
|
|
role="tab"
|
|
|
|
tabindex="-1"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_maskedIcon mx_UserSettingsDialog_helpIcon"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="mx_TabbedView_tabLabel_text"
|
2023-04-25 16:31:54 +08:00
|
|
|
id="mx_tabpanel_USER_HELP_TAB_label"
|
2022-08-01 14:47:13 +08:00
|
|
|
>
|
|
|
|
Help & About
|
|
|
|
</span>
|
2023-05-15 21:33:49 +08:00
|
|
|
</li>,
|
2022-08-01 14:47:13 +08:00
|
|
|
]
|
|
|
|
`;
|