You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, the plan is to write a few tests to make sure RoomTiles and RoomSublists are updating correctly in response to app state changing. To be clear, the following tests should pass prior to the changes mentioned.
The following should be tested (manually/automatically):
receiving a message in an unread room causes it to transition to the "read" state;
receiving a room state event for a room should update the respective view of the RoomTile, namely:
avatar;
name;
member event (in case the room name is "Alice, Bob and 2345 others";
receiving a message in a room which is not at the top of a manually sorted RoomSubList;
having a notification count > 0 should be displayed when we receive an event and the count is > 0;
the notification count should be zeroed when we look at the room.
Automated test considerations:
1. and 2. could probably be done with a RoomTile instance and a mocked js-sdk (room/client). 3. would require RoomListStore only, with the assumption that the RLS state is accurately rendered.
The text was updated successfully, but these errors were encountered:
In order to have some degree of confidence in merging:
, the plan is to write a few tests to make sure RoomTiles and RoomSublists are updating correctly in response to app state changing. To be clear, the following tests should pass prior to the changes mentioned.
The following should be tested (manually/automatically):
Automated test considerations:
1. and 2. could probably be done with a RoomTile instance and a mocked js-sdk (room/client). 3. would require RoomListStore only, with the assumption that the RLS state is accurately rendered.
The text was updated successfully, but these errors were encountered: