1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Cypress: allow enabling Rust Crypto via env var (#10951)

* Cypress: allow enabling Rust Crypto via env var

* prettify
This commit is contained in:
Richard van der Hoff
2023-05-19 14:55:13 +01:00
committed by GitHub
parent c6f44d3053
commit 3623643248
2 changed files with 19 additions and 1 deletions

View File

@ -45,6 +45,16 @@ To launch it:
yarn run test:cypress:open
```
### Running with Rust cryptography
`matrix-js-sdk` is currently in the
[process](https://github.com/vector-im/element-web/issues/21972) of being
updated to replace its end-to-end encryption implementation to use the [Matrix
Rust SDK](https://github.com/matrix-org/matrix-rust-sdk). This is not currently
enabled by default, but it is possible to have Cypress configure Element to use
the Rust crypto implementation by setting the environment variable
`CYPRESS_RUST_CRYPTO=1`.
## How the Tests Work
Everything Cypress-related lives in the `cypress/` subdirectory of react-sdk