Update sliding-sync playwright test

Update test expectations for new room list implementation.
This commit is contained in:
David Langley 2026-01-30 09:46:48 +00:00
parent 935dbb1989
commit de02b11c65

View File

@ -38,7 +38,7 @@ const test = base.extend<{
test.describe("Sliding Sync", () => {
const checkOrder = async (wantOrder: string[], page: Page) => {
await expect(page.getByTestId("room-list").locator(".mx_RoomListItemView_text")).toHaveText(wantOrder);
await expect(page.getByTestId("room-list").getByTestId("room-name")).toHaveText(wantOrder);
};
const bumpRoom = async (roomId: string, app: ElementAppPage) => {