Skip to content

Commit

Permalink
Deflake keyboard navigation test
Browse files Browse the repository at this point in the history
Fixes #28139
  • Loading branch information
dbkr committed Oct 17, 2024
1 parent 2cff2b5 commit 75551aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playwright/e2e/accessibility/keyboard-navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ test.describe("Landmark navigation tests", () => {
});

test("without any rooms", async ({ page, homeserver, app, user }) => {
// sometimes the space button doesn't appear right away
await expect(page.locator(".mx_SpaceButton_active")).toBeVisible();

/**
* Without any rooms, there is no tile in the roomlist to be focused.
* So the next landmark in the list should be focused instead.
Expand Down

0 comments on commit 75551aa

Please sign in to comment.