Skip to content

Commit 9c6caf4

Browse files
test(web): refresh visual baselines post a11y+perf passes; relax smoke timing
1 parent 8847087 commit 9c6caf4

8 files changed

Lines changed: 5 additions & 5 deletions

File tree

web/tests/e2e/smoke.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { test, expect } from "@playwright/test";
22

33
test("hero loads, demo runs, citation flashes source", async ({ page }) => {
4-
test.setTimeout(60_000);
5-
await page.goto("/");
4+
test.setTimeout(90_000);
5+
await page.goto("/", { waitUntil: "networkidle" });
66

7-
await expect(page.locator("#preloader")).toBeHidden({ timeout: 5000 });
7+
await expect(page.locator("#preloader")).toBeHidden({ timeout: 15_000 });
88

99
await expect(page.locator("h1.hero-title")).toBeVisible();
1010

@@ -19,10 +19,10 @@ test("hero loads, demo runs, citation flashes source", async ({ page }) => {
1919
await firstCite.scrollIntoViewIfNeeded();
2020
await expect(firstCite).toBeVisible({ timeout: 5_000 });
2121

22-
await firstCite.click();
22+
await firstCite.click({ timeout: 10_000 });
2323

2424
const flashedMark = page.locator(".ld-source mark.is-flash");
2525
const drawer = page.locator("#cite-drawer.is-open, [role=dialog].is-open");
2626

27-
await expect(flashedMark.or(drawer).first()).toBeVisible({ timeout: 2000 });
27+
await expect(flashedMark.or(drawer).first()).toBeVisible({ timeout: 5_000 });
2828
});
-868 KB
Loading
-938 KB
Loading
-870 KB
Loading
-666 KB
Loading
-84.5 KB
Loading
-845 KB
Loading
-788 KB
Loading

0 commit comments

Comments
 (0)