test(e2e): wait for authenticated board

This commit is contained in:
ajnart committed 2026-07-29 07:42:57 +02:00
1 parent c80e9878de
commit d48f299585
1 file changed
+1 -2
+1 -2
View File
@@ -79,9 +79,8 @@ describe("lazy widget application graph", () => {
await page.getByLabel("Username").fill(adminCredentials.username);
await page.locator("#password").fill(adminCredentials.password);
await page.locator("css=button[type='submit']").click();
await page.waitForURL(baseUrl, { timeout: 15_000 });
await expect(page.locator("[data-homarr-dev-benchmark-board]")).toBeVisible();
await expect(page.locator("[data-homarr-dev-benchmark-board]")).toBeVisible({ timeout: 30_000 });
await expect(page.locator(`[data-id="${itemId}"] .clock-widget-container`)).toBeVisible({ timeout: 15_000 });
await page.locator('[data-homarr-dev-benchmark-interaction="search"]').first().click();