added loading screen

This commit is contained in:
2026-09-15 06:21:03 -04:00
parent c050d25a84
commit 8b527e062f
7 changed files with 477 additions and 4 deletions
+10
View File
@@ -255,6 +255,16 @@ test("section unveiling respects reduced-motion preferences", async ({
).toBe(0);
});
test("the woven loading page introduces the site and clears", async ({
page,
}) => {
await page.goto("/");
const loader = page.locator(".loader");
await expect(loader).toContainText("Loading Radhe Radhe Synthetics");
await expect(page.locator(".loader__canvas")).toHaveCount(1);
await expect(loader).toHaveCount(0, { timeout: 3500 });
});
test("unknown route provides a way home", async ({ page }) => {
await page.goto("/missing-page");
await expect(page.getByRole("heading", { level: 1 })).toHaveText(