Enable verification cypress tests for Element R (#11169)

This commit is contained in:
Richard van der Hoff 2023-07-03 12:48:18 +01:00 committed by GitHub
parent 68b04a83e8
commit 0d14b03d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ limitations under the License.
import type { VerificationRequest, Verifier } from "matrix-js-sdk/src/crypto-api/verification"; import type { VerificationRequest, Verifier } from "matrix-js-sdk/src/crypto-api/verification";
import { CypressBot } from "../../support/bot"; import { CypressBot } from "../../support/bot";
import { HomeserverInstance } from "../../plugins/utils/homeserver"; import { HomeserverInstance } from "../../plugins/utils/homeserver";
import { emitPromise, skipIfRustCrypto } from "../../support/util"; import { emitPromise } from "../../support/util";
import { checkDeviceIsCrossSigned, doTwoWaySasVerification, logIntoElement, waitForVerificationRequest } from "./utils"; import { checkDeviceIsCrossSigned, doTwoWaySasVerification, logIntoElement, waitForVerificationRequest } from "./utils";
import { getToast } from "../../support/toasts"; import { getToast } from "../../support/toasts";
@ -26,7 +26,6 @@ describe("Device verification", () => {
let homeserver: HomeserverInstance; let homeserver: HomeserverInstance;
beforeEach(() => { beforeEach(() => {
skipIfRustCrypto();
cy.startHomeserver("default").then((data: HomeserverInstance) => { cy.startHomeserver("default").then((data: HomeserverInstance) => {
homeserver = data; homeserver = data;