Skip to content

Commit a31284a

Browse files
committed
chore: remove outline in test
1 parent ad25947 commit a31284a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ test.describe("Room list custom sections", () => {
231231
// The "Chat moved" toast should appear
232232
await expect(page.getByText("Chat moved")).toBeVisible();
233233

234+
// Remove focus outline from the room item before taking the screenshot
235+
await page.getByRole("button", { name: "User menu" }).focus();
236+
234237
await expect(roomList).toMatchScreenshot("room-list-sections-chat-moved-toast.png");
235238
},
236239
);
Loading

0 commit comments

Comments
 (0)