element-web-Github/cypress/e2e/crypto
Florian Duros 8d77d6e4cc
Add cypress test for verifying a new device via SAS (#10940)
* Add WIP Sas cross-signing test

* Login after bot creation

* Figuring out how to make it work in ci

* Wait for `r0/login` to be called before bot creation

* Make waitForVerificationRequest automatically accept requests

... thereby making the `acceptVerificationRequest` helper redundant

* Clean up `deviceIsCrossSigned`

* combine `handleVerificationRequest` and `verifyEmojiSas`

* get rid of a  layer

... it adds no value

* fix bad merge

* minor cleanups to new test

* Move `logIntoElement` to utils module

* use `logIntoElement`  function

* Avoid intercept

* Avoid `CryptoTestContext`

---------

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2023-05-25 18:24:50 +00:00
..
complete-security.spec.ts Add cypress test for verifying a new device via SAS (#10940) 2023-05-25 18:24:50 +00:00
crypto.spec.ts Add cypress test for verifying a new device via SAS (#10940) 2023-05-25 18:24:50 +00:00
decryption-failure.spec.ts Cypress: skip tests known to fail when using Rust crypto (#10873) 2023-05-24 09:50:05 +00:00
utils.ts Add cypress test for verifying a new device via SAS (#10940) 2023-05-25 18:24:50 +00:00