Skip to content

Commit eb103a3

Browse files
committed
Tweak waiting times.
1 parent ce1e394 commit eb103a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/puppeteer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const port = 1234;
8080
const pixelThreshold = 0.1; // threshold error in one pixel
8181
const maxDifferentPixels = 0.3; // at most 0.3% different pixels
8282

83-
const idleTime = 0.5; // 500ms - for how long there should be no network requests
83+
const idleTime = 1; // 1 second - for how long there should be no network requests
8484
const parseTime = 1; // 1 second per megabyte
8585

8686
const networkTimeout = 5; // 5 minutes, set to 0 to disable
@@ -370,7 +370,7 @@ async function makeAttempt( page, failedScreenshots, cleanPage, isMakeScreenshot
370370
try {
371371

372372
await page.goto( `http://localhost:${ port }/examples/${ file }.html`, {
373-
waitUntil: 'networkidle0',
373+
waitUntil: 'load',
374374
timeout: networkTimeout * 60000
375375
} );
376376

0 commit comments

Comments
 (0)