From 7ff2b02364aa9f61a80c5e76e7dd5d6a7700c823 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:30:49 +0100 Subject: [PATCH] Disable a bunch of flaky cypress tests (#11719) --- cypress/e2e/composer/composer.spec.ts | 3 ++- cypress/e2e/crypto/crypto.spec.ts | 1 + cypress/e2e/read-receipts/editing-messages.spec.ts | 4 ++-- cypress/e2e/read-receipts/high-level.spec.ts | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/composer/composer.spec.ts b/cypress/e2e/composer/composer.spec.ts index 85e258a127..43b81d514d 100644 --- a/cypress/e2e/composer/composer.spec.ts +++ b/cypress/e2e/composer/composer.spec.ts @@ -183,7 +183,8 @@ describe("Composer", () => { // TODO add tests for rich text mode describe("Plain text mode", () => { - it("autocomplete behaviour tests", () => { + // https://github.com/vector-im/element-web/issues/26037 + it.skip("autocomplete behaviour tests", () => { // Set up a private room so we have another user to mention const otherUserName = "Bob"; let bobClient: MatrixClient; diff --git a/cypress/e2e/crypto/crypto.spec.ts b/cypress/e2e/crypto/crypto.spec.ts index 724e4fb1f2..cff2d554ad 100644 --- a/cypress/e2e/crypto/crypto.spec.ts +++ b/cypress/e2e/crypto/crypto.spec.ts @@ -256,6 +256,7 @@ describe("Cryptography", function () { } it("creating a DM should work, being e2e-encrypted / user verification", function (this: CryptoTestContext) { + skipIfRustCrypto(); // https://github.com/vector-im/element-web/issues/25618 cy.bootstrapCrossSigning(aliceCredentials); startDMWithBob.call(this); // send first message diff --git a/cypress/e2e/read-receipts/editing-messages.spec.ts b/cypress/e2e/read-receipts/editing-messages.spec.ts index 77f67476f1..d1705cdb59 100644 --- a/cypress/e2e/read-receipts/editing-messages.spec.ts +++ b/cypress/e2e/read-receipts/editing-messages.spec.ts @@ -180,8 +180,8 @@ describe("Read receipts", () => { // Then the room remains read assertStillRead(room2); }); - // XXX: fails because we see a dot instead of an unread number - probably the server and client disagree - it("A room with an edit is still read after restart", () => { + // https://github.com/vector-im/element-web/issues/26273 + it.skip("A room with an edit is still read after restart", () => { // Given a message is marked as read goTo(room2); receiveMessages(room2, ["Msg1"]); diff --git a/cypress/e2e/read-receipts/high-level.spec.ts b/cypress/e2e/read-receipts/high-level.spec.ts index 22eab60b61..ef7fe9ac85 100644 --- a/cypress/e2e/read-receipts/high-level.spec.ts +++ b/cypress/e2e/read-receipts/high-level.spec.ts @@ -244,7 +244,8 @@ describe("Read receipts", () => { assertReadThread("Root2"); assertReadThread("Root3"); }); - it("Paging up to find old threads that were never read keeps the room unread", () => { + // https://github.com/vector-im/element-web/issues/26294 + it.skip("Paging up to find old threads that were never read keeps the room unread", () => { // Given lots of messages in threads that are unread goTo(room1); receiveMessages(room2, [