Skip flaky cypress test on rust crypto (#11710)

This commit is contained in:
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

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 { CypressBot } from "../../support/bot";
import { HomeserverInstance } from "../../plugins/utils/homeserver";
import { emitPromise } from "../../support/util";
import { emitPromise, skipIfRustCrypto } from "../../support/util";
import {
checkDeviceIsConnectedKeyBackup,
checkDeviceIsCrossSigned,
@ -123,6 +123,7 @@ describe("Device verification", () => {
});
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);
// Launch the verification request between alice and the bot