diff --git a/playwright/e2e/crypto/dehydration.spec.ts b/playwright/e2e/crypto/dehydration.spec.ts index 590ab774b50..79419d621f8 100644 --- a/playwright/e2e/crypto/dehydration.spec.ts +++ b/playwright/e2e/crypto/dehydration.spec.ts @@ -39,7 +39,7 @@ const ROOM_NAME = "Test room"; const NAME = "Alice"; function getMemberTileByName(page: Page, name: string): Locator { - return page.locator(`.mx_EntityTile, [title="${name}"]`); + return page.locator(`.mx_MemberTileView, [title="${name}"]`); } test.describe("Dehydration", () => { @@ -95,7 +95,7 @@ test.describe("Dehydration", () => { await viewRoomSummaryByName(page, app, ROOM_NAME); await page.locator(".mx_RightPanel").getByRole("menuitem", { name: "People" }).click(); - await expect(page.locator(".mx_MemberList")).toBeVisible(); + await expect(page.locator(".mx_MemberListView")).toBeVisible(); await getMemberTileByName(page, NAME).click(); await page.locator(".mx_UserInfo_devices .mx_UserInfo_expand").click(); diff --git a/playwright/e2e/lazy-loading/lazy-loading.spec.ts b/playwright/e2e/lazy-loading/lazy-loading.spec.ts index c931bcfb1ff..c2320386383 100644 --- a/playwright/e2e/lazy-loading/lazy-loading.spec.ts +++ b/playwright/e2e/lazy-loading/lazy-loading.spec.ts @@ -77,7 +77,7 @@ test.describe("Lazy Loading", () => { } function getMemberInMemberlist(page: Page, name: string): Locator { - return page.locator(".mx_MemberList .mx_EntityTile_name").filter({ hasText: name }); + return page.locator(".mx_MemberListView .mx_MemberTileView_name").filter({ hasText: name }); } async function checkMemberList(page: Page, charlies: Bot[]) { diff --git a/playwright/e2e/right-panel/right-panel.spec.ts b/playwright/e2e/right-panel/right-panel.spec.ts index 1e9b8ebe1d4..607b479ffcc 100644 --- a/playwright/e2e/right-panel/right-panel.spec.ts +++ b/playwright/e2e/right-panel/right-panel.spec.ts @@ -24,7 +24,7 @@ const ROOM_ADDRESS_LONG = "loremIpsumDolorSitAmetConsecteturAdipisicingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua"; function getMemberTileByName(page: Page, name: string): Locator { - return page.locator(`.mx_EntityTile, [title="${name}"]`); + return page.locator(`.mx_MemberTileView, [title="${name}"]`); } test.describe("RightPanel", () => { @@ -107,14 +107,14 @@ test.describe("RightPanel", () => { await viewRoomSummaryByName(page, app, ROOM_NAME); await page.locator(".mx_RightPanel").getByRole("menuitem", { name: "People" }).click(); - await expect(page.locator(".mx_MemberList")).toBeVisible(); + await expect(page.locator(".mx_MemberListView")).toBeVisible(); await getMemberTileByName(page, NAME).click(); await expect(page.locator(".mx_UserInfo")).toBeVisible(); await expect(page.locator(".mx_UserInfo_profile").getByText(NAME)).toBeVisible(); await page.getByTestId("base-card-back-button").click(); - await expect(page.locator(".mx_MemberList")).toBeVisible(); + await expect(page.locator(".mx_MemberListView")).toBeVisible(); await page.getByLabel("Room info").nth(1).click(); await checkRoomSummaryCard(page, ROOM_NAME); @@ -130,14 +130,14 @@ test.describe("RightPanel", () => { .locator(".mx_RoomInfoLine_private") .getByRole("button", { name: /\d member/ }) .click(); - await expect(page.locator(".mx_MemberList")).toBeVisible(); + await expect(page.locator(".mx_MemberListView")).toBeVisible(); await getMemberTileByName(page, NAME).click(); await expect(page.locator(".mx_UserInfo")).toBeVisible(); await expect(page.locator(".mx_UserInfo_profile").getByText(NAME)).toBeVisible(); await page.getByTestId("base-card-back-button").click(); - await expect(page.locator(".mx_MemberList")).toBeVisible(); + await expect(page.locator(".mx_MemberListView")).toBeVisible(); }); }); });