Deflake keyboard navigation test (#28224)

Fixes https://github.com/element-hq/element-web/issues/28139
pull/28230/head
David Baker 2024-10-17 17:08:26 +01:00 committed by GitHub
parent cb383efb42
commit 8f35353758
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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.