fix: replace networkidle with domcontentloaded in landing variant tests

Vite dev server WebSocket + Umami analytics keep network active,
causing networkidle to never resolve (10min timeout on all 9 tests).
This commit is contained in:
openhands 2026-02-20 22:14:25 +00:00 committed by johba
parent 9809e5e640
commit 88473fe455

View file

@ -276,7 +276,7 @@ for (const persona of personas) {
// Navigate to variant
await page.goto(variant.url);
await page.waitForLoadState('networkidle');
await page.waitForLoadState('domcontentloaded');
await page.waitForTimeout(1000); // Let animations settle
// Take screenshot