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:
parent
9809e5e640
commit
88473fe455
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue