From 19d927f497be1f8d24a634f7716fa4b6159b7ab7 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 19 Jul 2023 04:43:57 +0100 Subject: [PATCH] Fix over-simplified cypress test (#11294) --- cypress/e2e/read-receipts/read-receipts.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/e2e/read-receipts/read-receipts.spec.ts b/cypress/e2e/read-receipts/read-receipts.spec.ts index a36132a408..25334f2a22 100644 --- a/cypress/e2e/read-receipts/read-receipts.spec.ts +++ b/cypress/e2e/read-receipts/read-receipts.spec.ts @@ -46,6 +46,9 @@ describe("Read receipts", () => { getId: () => eventResponse.event_id, threadRootId, getTs: () => 1, + isRelation: (relType) => { + return !relType || relType === "m.thread"; + }, } as any as MatrixEvent; };