mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 21:08:58 +03:00
Fix flaky test that assumes edits count as messages
This commit is contained in:
parent
f841757906
commit
14a622b1e8
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ describe("Read receipts", () => {
|
||||||
it("A room where all threaded edits are read is still read after restart", () => {
|
it("A room where all threaded edits are read is still read after restart", () => {
|
||||||
goTo(room2);
|
goTo(room2);
|
||||||
receiveMessages(room2, ["Msg1", threadedOff("Msg1", "Resp1"), editOf("Resp1", "Edit1")]);
|
receiveMessages(room2, ["Msg1", threadedOff("Msg1", "Resp1"), editOf("Resp1", "Edit1")]);
|
||||||
assertUnread(room2, 2);
|
assertUnread(room2, 1);
|
||||||
openThread("Msg1");
|
openThread("Msg1");
|
||||||
assertRead(room2);
|
assertRead(room2);
|
||||||
goTo(room1); // Make sure we are looking at room1 after reload
|
goTo(room1); // Make sure we are looking at room1 after reload
|
||||||
|
|
Loading…
Reference in a new issue