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:
David Baker
2025-05-15 14:15:24 +01:00
committed by GitHub
parent c309cc8bfa
commit 9642af9930
11 changed files with 28 additions and 28 deletions

View File

@@ -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);
}