From 14a622b1e8e2a608a3c32073e2b57e2835e4e393 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 22 Sep 2023 11:21:41 +0100 Subject: [PATCH] Fix flaky test that assumes edits count as messages --- cypress/e2e/read-receipts/editing-messages.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/read-receipts/editing-messages.spec.ts b/cypress/e2e/read-receipts/editing-messages.spec.ts index ef56f10cac..f8d8a081b0 100644 --- a/cypress/e2e/read-receipts/editing-messages.spec.ts +++ b/cypress/e2e/read-receipts/editing-messages.spec.ts @@ -371,7 +371,7 @@ describe("Read receipts", () => { it("A room where all threaded edits are read is still read after restart", () => { goTo(room2); receiveMessages(room2, ["Msg1", threadedOff("Msg1", "Resp1"), editOf("Resp1", "Edit1")]); - assertUnread(room2, 2); + assertUnread(room2, 1); openThread("Msg1"); assertRead(room2); goTo(room1); // Make sure we are looking at room1 after reload