Disable "can receive a verification request when there is no existing DM" for EWR (#11788)

pull/28788/head^2
Florian Duros 2023-10-24 14:24:47 +02:00 committed by GitHub
parent 9eb44105cb
commit 85b15888e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 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,
@ -317,6 +317,10 @@ describe("User verification", () => {
}); });
it("can receive a verification request when there is no existing DM", () => { it("can receive a verification request when there is no existing DM", () => {
// Extremely flaky with rust crypto
// see https://github.com/vector-im/element-web/issues/26420
skipIfRustCrypto();
cy.bootstrapCrossSigning(aliceCredentials); cy.bootstrapCrossSigning(aliceCredentials);
// the other user creates a DM // the other user creates a DM