element-web/cypress
Richard van der Hoff cf2340bcad
Replace event verification logic with new code in js-sdk (#11528)
* Use new crypto-api for cross user verification

* update verification flow with new APIs

* Replace some calls to `checkUserTrust`

A start on https://github.com/vector-im/crypto-internal/issues/147

* Enable cypress tests

* update tests

* Delegate decisions on event shields to the js-sdk

* rerender after editing events

This is required because a transition from "valid event" to "unencrypted event"
no longer triggers a state change, so the component does not render
itself. Previously, this would be a transition from `verified:
E2EState.Normal` to `verified: null`.

* Update tests

* prettier

* Test coverage

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2023-09-18 17:12:18 +00:00
..
e2e Replace event verification logic with new code in js-sdk (#11528) 2023-09-18 17:12:18 +00:00
fixtures Add intercept of config.json (#10908) 2023-05-16 12:15:20 +00:00
plugins Change binary to use (#11486) 2023-09-12 19:00:34 +00:00
support Collect console.debug logs during cypress tests (#11478) 2023-09-04 16:54:21 +00:00
global.d.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
tsconfig.json Add Cypress Testing Library (#10446) 2023-03-29 08:47:05 +02:00