Skip to content

Commit a1f56eb

Browse files
authored
Deflake test (#30634)
1 parent a003ebc commit a1f56eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ test.describe("Room list", () => {
193193

194194
await roomListView.getByRole("option", { name: "Open room room20" }).click();
195195

196+
// Make sure the room with the unread is visible before we press the keyboard action to select it
197+
await expect(roomListView.getByRole("option", { name: "1 notification" })).toBeVisible();
198+
196199
await page.keyboard.press("Alt+Shift+ArrowDown");
197200

198201
await expect(page.getByRole("heading", { name: "1 notification", level: 1 })).toBeVisible();

0 commit comments

Comments
 (0)