element-web/playwright/e2e
David Baker 980b922348
Enable key backup by default (#28691)
* Factor out crypto setup process into a store

To make components pure and avoid react 18 dev mode problems due
to components making requests when mounted.

* fix test

* test for the store

* Add comment

* Enable key backup by default

When we set up cross signing, so the key backup key will be stored locally along with the cross signing keys until the user sets up recovery (4s). This will mean that a user can restore their backup if they log in on a new device as long as they verify with the one they registered on.

Replaces https://github.com/element-hq/element-web/pull/28267

* Fix test

* Prompt user to set up 4S on logout

* Fix test

* Add playwright test for key backup by default

* Fix imports

* This isn't unexpected anymore

* Update doc

* Fix docs and function name on renderSetupBackupDialog()

* Use checkKeyBackupAndEnable

* Docs for setup encryption toast

* Also test the toast appears

* Update mock for the method we use now

* Okay fine I guess we need both

* Swap here too

* Fix comment & doc comments
2024-12-17 14:50:48 +00:00
..
accessibility Deflake keyboard navigation test (#28224) 2024-10-17 16:08:26 +00:00
app-loading Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
audio-player Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
chat-export Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
composer Fix RTE mentions autocomplete test (#28244) 2024-10-18 17:13:20 +00:00
create-room Change license (#13) 2024-09-09 13:57:16 +00:00
crypto Enable key backup by default (#28691) 2024-12-17 14:50:48 +00:00
editing Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
file-upload Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
forgot-password Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
integration-manager Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
invite Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
knock Change license (#13) 2024-09-09 13:57:16 +00:00
lazy-loading Ditch right panel tabs and re-add close button (#99) 2024-10-03 08:59:41 +00:00
left-panel Change license (#13) 2024-09-09 13:57:16 +00:00
location Change license (#13) 2024-09-09 13:57:16 +00:00
login Deflake unskippable verification (#28222) 2024-10-17 14:44:53 +00:00
messages Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
oidc Ensure no race condition between page load and waitForRequest set up (#109) 2024-10-02 10:21:44 +00:00
one-to-one-chat Change license (#13) 2024-09-09 13:57:16 +00:00
permalinks Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
pinned-messages Fix multiple pinned messages flacky tests by waiting the message to be displayed in the banner when pinned. (#28655) 2024-12-05 15:31:16 +00:00
polls Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
presence Change license (#13) 2024-09-09 13:57:16 +00:00
read-receipts Add mergequeue tag to read-receipts tests and skip running them on PR commits (#28648) 2024-12-05 14:30:28 +00:00
register Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
regression-tests Change license (#13) 2024-09-09 13:57:16 +00:00
release-announcement Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
right-panel Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
room Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
room-directory Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
room_options Change license (#13) 2024-09-09 13:57:16 +00:00
settings Enable message layout (#28753) 2024-12-17 13:25:04 +00:00
share-dialog Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
sliding-sync Change license (#13) 2024-09-09 13:57:16 +00:00
spaces Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
spotlight Enable "should find unknown people" (#28245) 2024-10-21 11:01:38 +00:00
threads Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
timeline Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
toasts Change license (#13) 2024-09-09 13:57:16 +00:00
update Change license (#13) 2024-09-09 13:57:16 +00:00
user-menu Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
user-onboarding Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
user-view Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
widgets Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
utils.ts Fix flaky crypto playwright tests (#143) 2024-10-11 11:48:46 +00:00