diff --git a/cypress/e2e/crypto/verification.spec.ts b/cypress/e2e/crypto/verification.spec.ts index 0bc6c71034..51e7b35d56 100644 --- a/cypress/e2e/crypto/verification.spec.ts +++ b/cypress/e2e/crypto/verification.spec.ts @@ -19,7 +19,7 @@ import jsQR from "jsqr"; import type { VerificationRequest, Verifier } from "matrix-js-sdk/src/crypto-api/verification"; import { CypressBot } from "../../support/bot"; import { HomeserverInstance } from "../../plugins/utils/homeserver"; -import { emitPromise } from "../../support/util"; +import { emitPromise, skipIfRustCrypto } from "../../support/util"; import { checkDeviceIsCrossSigned, doTwoWaySasVerification, logIntoElement, waitForVerificationRequest } from "./utils"; import { getToast } from "../../support/toasts"; @@ -155,6 +155,8 @@ describe("Device verification", () => { }); it("Verify device during login with Security Phrase", () => { + skipIfRustCrypto(); + logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password); // Select the security phrase @@ -177,6 +179,8 @@ describe("Device verification", () => { }); it("Verify device during login with Security Key", () => { + skipIfRustCrypto(); + logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password); // Select the security phrase