You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-01 03:23:30 +03:00
Fix flaky test that assumes edits count as messages
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user