Disable failing login with SSSS tests with rust crypto (#11258)

This commit is contained in:
Florian Duros 2023-07-13 17:07:38 +02:00 committed by GitHub
parent f4e7e08425
commit d7d60a3255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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