From d7d60a325547c7e4f92dca21dfb046a200135086 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Thu, 13 Jul 2023 17:07:38 +0200 Subject: [PATCH] Disable failing login with SSSS tests with rust crypto (#11258) --- cypress/e2e/crypto/verification.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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