mirror of https://github.com/vector-im/riot-web
Fix a test that was expecting an edit to be considered unread (#11847)
parent
722c5ad493
commit
605f4f26ae
|
@ -134,8 +134,7 @@ describe("Read receipts", () => {
|
|||
goTo(room1);
|
||||
assertStillRead(room2);
|
||||
});
|
||||
// XXX: fails because we see a dot instead of an unread number - probably the server and client disagree
|
||||
it.skip("Editing a message after marking as read makes the room unread", () => {
|
||||
it("Editing a message after marking as read makes the room unread", () => {
|
||||
// Given the room is marked as read
|
||||
goTo(room1);
|
||||
receiveMessages(room2, ["Msg1"]);
|
||||
|
@ -146,8 +145,8 @@ describe("Read receipts", () => {
|
|||
// When a message is edited
|
||||
receiveMessages(room2, [editOf("Msg1", "Msg1 Edit1")]);
|
||||
|
||||
// Then the room becomes unread
|
||||
assertUnread(room2, 1);
|
||||
// Then the room remains unread
|
||||
assertStillRead(room2);
|
||||
});
|
||||
it("Editing a reply after reading it makes the room unread", () => {
|
||||
// Given the room is all read
|
||||
|
|
Loading…
Reference in New Issue