Skip to content

Commit 419a05b

Browse files
committed
Fiddle with the room video list.
1 parent 7a72108 commit 419a05b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/playwright/e2e/left-panel/room-list-panel/room-list.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,15 @@ test.describe("Room list", () => {
326326
await page.getByRole("textbox", { name: "Name" }).fill("video room");
327327
await page.getByRole("button", { name: "Create video room" }).click();
328328

329-
// focus the user menu to avoid to have hover decoration
330-
await page.getByRole("button", { name: "User menu" }).focus();
331-
332329
const roomListView = getRoomList(page);
333330
const videoRoom = roomListView.getByRole("option", { name: "video room" });
334331

335332
// Ensure we highlight the video
336333
await videoRoom.click();
337334

335+
// focus the user menu to avoid to have hover decoration
336+
await page.getByRole("button", { name: "User menu" }).hover();
337+
338338
await expect(videoRoom).toBeVisible();
339339
await expect(videoRoom).toMatchScreenshot("room-list-item-video.png");
340340
});
3 Bytes
Loading

0 commit comments

Comments
 (0)