mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Enable cypress test about login with SSSS to run with rust-crypto (#11323)
This commit is contained in:
parent
c26998967a
commit
202af87b2e
1 changed files with 1 additions and 5 deletions
|
@ -19,7 +19,7 @@ import jsQR from "jsqr";
|
||||||
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";
|
||||||
|
|
||||||
|
@ -155,8 +155,6 @@ describe("Device verification", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Verify device during login with Security Phrase", () => {
|
it("Verify device during login with Security Phrase", () => {
|
||||||
skipIfRustCrypto();
|
|
||||||
|
|
||||||
logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password);
|
logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password);
|
||||||
|
|
||||||
// Select the security phrase
|
// Select the security phrase
|
||||||
|
@ -179,8 +177,6 @@ describe("Device verification", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Verify device during login with Security Key", () => {
|
it("Verify device during login with Security Key", () => {
|
||||||
skipIfRustCrypto();
|
|
||||||
|
|
||||||
logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password);
|
logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password);
|
||||||
|
|
||||||
// Select the security phrase
|
// Select the security phrase
|
||||||
|
|
Loading…
Reference in a new issue