feat(redlist): add red list option in settings #318
Annotations
2 errors and 1 warning
<AccountUserSettingsTab /> › common view snapshot › should render section when account deactivation feature is enabled:
test/unit-tests/tchap/components/views/settings/AccountUserSettingsTab-test.tsx#L93
expect(received).toMatchSnapshot()
Snapshot name: `<AccountUserSettingsTab /> common view snapshot should render section when account deactivation feature is enabled 1`
- Snapshot - 11
+ Received + 11
@@ -131,39 +131,39 @@
class="mx_SettingsSubsection_content mx_SettingsSubsection_contentStretch"
>
<div
class="mx_SettingsFlag"
>
- <span
+ <label
class="mx_SettingsFlag_label"
+ for="redList-toggle"
>
+ <span
+ class="mx_SettingsFlag_labelText"
+ >
+ settings
+ </span>
<div
- id="mx_LabelledToggleSwitch_vY7Q4uEh9K38"
+ class="mx_SettingsFlag_microcopy"
>
settings
</div>
- </span>
+ </label>
<div
aria-checked="false"
aria-disabled="false"
- aria-labelledby="mx_LabelledToggleSwitch_vY7Q4uEh9K38"
+ aria-label="settings"
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
+ id="redList-toggle"
role="switch"
tabindex="0"
>
<div
class="mx_ToggleSwitch_ball"
/>
</div>
</div>
- <p
- class="mx_SettingsTab_subsectionText"
- >
- (
- settings
- )
- </p>
</div>
</div>
</div>
</div>
<div
at Object.toMatchSnapshot (test/unit-tests/tchap/components/views/settings/AccountUserSettingsTab-test.tsx:93:31)
|
Jest
Process completed with exit code 1.
|
Jest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|