-
-
Notifications
You must be signed in to change notification settings - Fork 831
Fill cypress test high-level.spec.ts
> A receipt for the last unimportant event makes the room read, even if all are unimportant
#11830
Conversation
…portant event makes the room read, even if all are unimportant`
@@ -168,7 +168,23 @@ describe("Read receipts", () => { | |||
// The room is unread again | |||
assertUnread(room2, 1); | |||
}); | |||
it.skip("A receipt for the last unimportant event makes the room read, even if all are unimportant", () => {}); | |||
it("A receipt for the last unimportant event makes the room read, even if all are unimportant", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if the intention of this test was that the room should start off unread?
@andybalaam as the guardian of these tests I think this is one for you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is just to say that unimportant events that are read don't make the room unread, so I think this is good modulo the comment I made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good with 1 change. Thanks!
@@ -168,7 +168,23 @@ describe("Read receipts", () => { | |||
// The room is unread again | |||
assertUnread(room2, 1); | |||
}); | |||
it.skip("A receipt for the last unimportant event makes the room read, even if all are unimportant", () => {}); | |||
it("A receipt for the last unimportant event makes the room read, even if all are unimportant", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is just to say that unimportant events that are read don't make the room unread, so I think this is good modulo the comment I made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Checklist
Fill cypress test
high-level.spec.ts
>A receipt for the last unimportant event makes the room read, even if all are unimportant
Part of element-hq/element-web#25449
This change is marked as an internal change (Task), so will not be included in the changelog.