fix(e2e): stabilize initial board hydration

This commit is contained in:
Thomas Camlong committed 2026-08-09 01:11:38 +02:00
1 parent 48d8517ed1
commit 9d3d40d4bd
2 files changed
+7 -10

No files matched your search

+4 -1
View File
@@ -88,8 +88,11 @@ describe("lazy widget application graph", () => {
);
await expect(clockWidget).toBeVisible({ timeout: 15_000 });
await expect(page.locator("[data-homarr-dev-benchmark-spotlight-preloaded]")).toHaveCount(1, {
timeout: 15_000,
});
await page.keyboard.press("Control+K");
await expect(page.locator("[data-homarr-dev-benchmark-spotlight]")).toBeVisible();
await expect(page.locator("[data-homarr-dev-benchmark-spotlight]")).toBeVisible({ timeout: 15_000 });
await page.keyboard.press("Escape");
await expect(page.locator("[data-homarr-dev-benchmark-spotlight]")).not.toBeVisible();