Skip flaky cypress test on rust crypto (#11710)

pull/28217/head
Richard van der Hoff 2023-10-03 22:20:11 +01:00 committed by GitHub
parent 11507790fd
commit 1c553eae4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import type { MatrixClient } from "matrix-js-sdk/src/matrix";
import type { VerificationRequest, Verifier } from "matrix-js-sdk/src/crypto-api"; import type { VerificationRequest, Verifier } from "matrix-js-sdk/src/crypto-api";
import { CypressBot } from "../../support/bot"; import { CypressBot } from "../../support/bot";
import { HomeserverInstance } from "../../plugins/utils/homeserver"; import { HomeserverInstance } from "../../plugins/utils/homeserver";
import { emitPromise } from "../../support/util"; import { emitPromise, skipIfRustCrypto } from "../../support/util";
import { import {
checkDeviceIsConnectedKeyBackup, checkDeviceIsConnectedKeyBackup,
checkDeviceIsCrossSigned, checkDeviceIsCrossSigned,
@ -123,6 +123,7 @@ describe("Device verification", () => {
}); });
it("Verify device during login with QR code", () => { it("Verify device during login with QR code", () => {
skipIfRustCrypto(); // https://github.com/vector-im/element-web/issues/26293
logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password); logIntoElement(homeserver.baseUrl, aliceBotClient.getUserId(), aliceBotClient.__cypress_password);
// Launch the verification request between alice and the bot // Launch the verification request between alice and the bot