mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 20:56:33 +02:00
Update sliding-sync playwright test
Update test expectations for new room list implementation.
This commit is contained in:
parent
935dbb1989
commit
de02b11c65
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user