Fix flaky test that assumes edits count as messages

This commit is contained in:
Andy Balaam 2023-09-22 11:21:41 +01:00
parent f841757906
commit 14a622b1e8

View file

@ -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