Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

test(a11y): give the floor 180s to navigate so a cold dev server stops failing it

nirholasb4039039e433
diff --git a/tests/e2e/a11y-top-pages.spec.js b/tests/e2e/a11y-top-pages.spec.js
index 5a254cd54..0f230fe1a 100644
--- a/tests/e2e/a11y-top-pages.spec.js
+++ b/tests/e2e/a11y-top-pages.spec.js
@@ -48,7 +48,15 @@ const KNOWN_EXCEPTIONS = new Set([]);
for (const { path } of auditPages) {
test(`a11y floor: ${path}`, async ({ page }) => {
if (KNOWN_EXCEPTIONS.has(path)) test.skip();
- await page.goto(path, { waitUntil: 'domcontentloaded', timeout: 60_000 });
+ // 180s, not 60s. playwright.config.js budgets 300s per test precisely
+ // because a cold Vite dev server transforms a page's whole module graph
+ // on first hit and heavy routes legitimately take minutes. Capping the
+ // navigation at 60s inside that 300s budget meant a slow transform was
+ // reported as a failed accessibility floor, so the gate flagged pages
+ // whose markup axe never got to look at. The axe run and its assertion
+ // below are unchanged; this only stops the dev server's speed from
+ // deciding the verdict, and still leaves 120s for the axe pass itself.
+ await page.goto(path, { waitUntil: 'domcontentloaded', timeout: 180_000 });
await page.waitForTimeout(500); // let above-the-fold async content settle
const results = await new AxeBuilder({ page })