element-web/playwright
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
..
@types Change license (#13) 2024-09-09 13:57:16 +00:00
e2e Enable key backup by default (#28691) 2024-12-17 14:50:48 +00:00
pages Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
plugins [create-pull-request] automated change (#28747) 2024-12-17 06:17:03 +00:00
sample-files Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
snapshots Enable message layout (#28753) 2024-12-17 13:25:04 +00:00
.gitignore Small tweaks & improvements (#28253) 2024-10-21 13:40:49 +00:00
Dockerfile Update mcr.microsoft.com/playwright Docker tag to v1.49.1 (#28706) 2024-12-12 00:52:48 +00:00
docker-entrypoint.sh Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
element-web-test.ts Tag screenshot tests to speed up test:playwright:screenshot (#28623) 2024-12-04 09:12:43 +00:00
flaky-reporter.ts Change license (#13) 2024-09-09 13:57:16 +00:00
global.d.ts Change license (#13) 2024-09-09 13:57:16 +00:00
stale-screenshot-reporter.ts Change license (#13) 2024-09-09 13:57:16 +00:00
tsconfig.json Add `allowImportingTsExtensions` to tsconfig (#12939) 2024-08-30 13:54:14 +00:00