Re-order primary filters (#29957)
* Re-order primary filters to match EX * Update tests * Update screenshots * Try to make screenshot deterministic * Just use the screenshot the CI spits out * Try again * Another screenshot
This commit is contained in:
@@ -73,7 +73,7 @@ describe("RoomListViewModel", () => {
|
||||
// should have 4 filters
|
||||
expect(vm.current.primaryFilters).toHaveLength(4);
|
||||
// check the order
|
||||
for (const [i, name] of ["Unreads", "Favourites", "People", "Rooms"].entries()) {
|
||||
for (const [i, name] of ["Unreads", "People", "Rooms", "Favourites"].entries()) {
|
||||
expect(vm.current.primaryFilters[i].name).toEqual(name);
|
||||
expect(vm.current.primaryFilters[i].active).toEqual(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user