This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Add encyption user settings tab #739
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 58s
jest-tests
1s
Annotations
3 errors
<UserSettingsDialog /> › renders tabs correctly:
test/components/views/dialogs/UserSettingsDialog-test.tsx#L110
expect(received).toMatchSnapshot()
Snapshot name: `<UserSettingsDialog /> renders tabs correctly 1`
- Snapshot - 0
+ Received + 26
@@ -221,10 +221,36 @@
>
Security & Privacy
</span>
</li>,
<li
+ aria-controls="mx_tabpanel_USER_ENCRYPTION_TAB"
+ aria-selected="false"
+ class="mx_AccessibleButton mx_TabbedView_tabLabel"
+ data-testid="settings-tab-USER_ENCRYPTION_TAB"
+ role="tab"
+ tabindex="-1"
+ >
+ <svg
+ fill="currentColor"
+ height="1em"
+ viewBox="0 0 24 24"
+ width="1em"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M7 14c-.55 0-1.02-.196-1.412-.588A1.926 1.926 0 0 1 5 12c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 7 10c.55 0 1.02.196 1.412.588.392.391.588.862.588 1.412 0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0 1 7 14Zm0 4c-1.667 0-3.083-.583-4.25-1.75C1.583 15.083 1 13.667 1 12c0-1.667.583-3.083 1.75-4.25C3.917 6.583 5.333 6 7 6c1.117 0 2.13.275 3.037.825A6.212 6.212 0 0 1 12.2 9h8.375a1.033 1.033 0 0 1 .725.3l2 2c.1.1.17.208.212.325.042.117.063.242.063.375s-.02.258-.063.375a.877.877 0 0 1-.212.325l-3.175 3.175a.946.946 0 0 1-.3.2c-.117.05-.233.083-.35.1a.832.832 0 0 1-.35-.025.884.884 0 0 1-.325-.175L17.5 15l-1.425 1.075a.945.945 0 0 1-.887.15.859.859 0 0 1-.288-.15L13.375 15H12.2a6.212 6.212 0 0 1-2.162 2.175C9.128 17.725 8.117 18 7 18Zm0-2c.933 0 1.754-.283 2.463-.85A4.032 4.032 0 0 0 10.875 13H14l1.45 1.025L17.5 12.5l1.775 1.375L21.15 12l-1-1h-9.275a4.032 4.032 0 0 0-1.412-2.15C8.754 8.283 7.933 8 7 8c-1.1 0-2.042.392-2.825 1.175C3.392 9.958 3 10.9 3 12s.392 2.042 1.175 2.825C4.958 15.608 5.9 16 7 16Z"
+ />
+ </svg>
+ <span
+ class="mx_TabbedView_tabLabel_text"
+ id="mx_tabpanel_USER_ENCRYPTION_TAB_label"
+ >
+ Encryption
+ </span>
+ </li>,
+ <li
aria-controls="mx_tabpanel_USER_LABS_TAB"
aria-selected="false"
class="mx_AccessibleButton mx_TabbedView_tabLabel"
data-testid="settings-tab-USER_LABS_TAB"
role="tab"
at Object.toMatchSnapshot (test/components/views/dialogs/UserSettingsDialog-test.tsx:110:71)
|
Jest (2)
Process completed with exit code 1.
|
jest-tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-1
|
397 KB |
|