2022-01-06 17:47:03 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<Notifications /> main notification switches renders only enable notifications switch when notifications are disabled 1`] = `
|
2022-11-15 18:27:13 +08:00
|
|
|
<div>
|
2022-01-06 17:47:03 +08:00
|
|
|
<div
|
2023-05-24 07:36:09 +08:00
|
|
|
class="mx_SettingsFlag"
|
|
|
|
data-testid="notif-master-switch"
|
2022-01-06 17:47:03 +08:00
|
|
|
>
|
2023-05-24 07:36:09 +08:00
|
|
|
<span
|
|
|
|
class="mx_SettingsFlag_label"
|
2022-01-06 17:47:03 +08:00
|
|
|
>
|
2023-05-24 07:36:09 +08:00
|
|
|
<div
|
|
|
|
id="mx_LabelledToggleSwitch_testid_0"
|
|
|
|
>
|
|
|
|
Enable notifications for this account
|
|
|
|
</div>
|
2022-11-15 18:27:13 +08:00
|
|
|
<span
|
2023-05-24 07:36:09 +08:00
|
|
|
class="mx_Caption"
|
|
|
|
id="mx_LabelledToggleSwitch_testid_0_caption"
|
2022-01-06 17:47:03 +08:00
|
|
|
>
|
2023-05-24 07:36:09 +08:00
|
|
|
Turn off to disable notifications on all your devices and sessions
|
2022-11-15 18:27:13 +08:00
|
|
|
</span>
|
2023-05-24 07:36:09 +08:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
aria-checked="false"
|
|
|
|
aria-describedby="mx_LabelledToggleSwitch_testid_0_caption"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-labelledby="mx_LabelledToggleSwitch_testid_0"
|
|
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
|
|
|
|
role="switch"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
2022-11-15 18:27:13 +08:00
|
|
|
<div
|
2023-05-24 07:36:09 +08:00
|
|
|
class="mx_ToggleSwitch_ball"
|
|
|
|
/>
|
2022-11-15 18:27:13 +08:00
|
|
|
</div>
|
2022-01-06 17:47:03 +08:00
|
|
|
</div>
|
2024-04-12 21:18:09 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFlag"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="mx_SettingsFlag_label"
|
|
|
|
for="mx_SettingsFlag_testid_1"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_SettingsFlag_labelText"
|
|
|
|
>
|
|
|
|
Show all activity in the room list (dots or number of unread messages)
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<div
|
|
|
|
aria-checked="true"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-label="Show all activity in the room list (dots or number of unread messages)"
|
|
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on mx_ToggleSwitch_enabled"
|
|
|
|
id="mx_SettingsFlag_testid_1"
|
|
|
|
role="switch"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ToggleSwitch_ball"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFlag"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="mx_SettingsFlag_label"
|
|
|
|
for="mx_SettingsFlag_testid_2"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_SettingsFlag_labelText"
|
|
|
|
>
|
|
|
|
Only show notifications in the thread activity centre
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<div
|
|
|
|
aria-checked="true"
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-label="Only show notifications in the thread activity centre"
|
|
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_on mx_ToggleSwitch_enabled"
|
|
|
|
id="mx_SettingsFlag_testid_2"
|
|
|
|
role="switch"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_ToggleSwitch_ball"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-15 18:27:13 +08:00
|
|
|
</div>
|
2022-01-06 17:47:03 +08:00
|
|
|
`;
|