element-web/test/components/views/rooms/__snapshots__
Andy Balaam 8b7f49e74e
Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk (#11903)
* Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk

* Remove unit tests that rely on receipt timestamps

Previously, if we found a receipt for an unknown event, we would use the
receipt timestamp and declare all events before that time to be read.
Now, we ignore such "dangling" receipts until we find the event they
refer to.

This new behaviour is more correct, but does lead to more messages being
considered unread.

This commit deletes tests that checked for the old behaviour.

* Check for a missing thread in determineUnreadState

* Fix incorrect way to find room timeline

* More realistic test setup to support new receipt code

* Update snapshot to expect a room to be unread when there are no receipts

* Formatting fixes

* Update snapshot to show menu and notif button

* Disable some flaky tests

* Disable some flaky tests

* Fix test to make a threaded receipt for an event that is actually in the thread

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2023-11-29 13:36:52 +00:00
..
ExtraTile-test.tsx.snap Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
MemberTile-test.tsx.snap Update vector-im (#11621) 2023-10-12 11:12:59 +00:00
PinnedEventTile-test.tsx.snap Update vector-im (#11621) 2023-10-12 11:12:59 +00:00
RoomHeader-test.tsx.snap make room info button to open room details (#11951) 2023-11-28 21:15:21 +00:00
RoomPreviewBar-test.tsx.snap Update vector-im (#11621) 2023-10-12 11:12:59 +00:00
RoomTile-test.tsx.snap Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk (#11903) 2023-11-29 13:36:52 +00:00
ThirdPartyMemberInfo-test.tsx.snap Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00