Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a0049f9

Browse files
committed
Patch over legacy Groups test
1 parent 746856e commit a0049f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/components/views/rooms/RoomList-test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,11 @@ describe('RoomList', () => {
296296
GroupStore._notifyListeners();
297297

298298
await waitForRoomListStoreUpdate();
299+
300+
// XXX: Even though the store updated, it can take a bit before the update makes
301+
// it to the components. This gives it plenty of time to figure out what to do.
302+
await (new Promise(resolve => setTimeout(resolve, 500)));
303+
299304
expectRoomInSubList(otherRoom, (s) => s.props.tagId === DefaultTagID.Untagged);
300305
});
301306

0 commit comments

Comments
 (0)