New Room List: Change the order of filters to match those on mobile (#30905)

* Change the order of filters to match those on mobile

* Fix jest test

* Update screenshots to include expanded and collapsed list of filters.

* lint
This commit is contained in:
David Langley
2025-09-30 10:35:24 +00:00
committed by GitHub
parent e0df420ade
commit 6562f5ac20
5 changed files with 9 additions and 2 deletions
@@ -322,6 +322,13 @@ test.describe("Room list filters and sort", () => {
return page.getByTestId("empty-room-list");
}
test("should render the primary filters", { tag: "@screenshot" }, async ({ page, app, user }) => {
const primaryFilters = getPrimaryFilters(page);
await expect(primaryFilters).toMatchScreenshot("collapsed-primary-filters.png");
await getFilterExpandButton(page).click();
await expect(primaryFilters).toMatchScreenshot("expanded-primary-filters.png");
});
test(
"should render the default placeholder when there is no filter",
{ tag: "@screenshot" },
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB