Skip to content

Commit 6656b3d

Browse files
author
Ives van Hoorne
committed
Fix test waiting
1 parent af067e8 commit 6656b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/integration-tests/tests/sandboxes.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const SANDBOXES = [
77
'svelte',
88
'react-ts',
99
{ id: 'github/reactjs/redux/tree/master/examples/todomvc', threshold: 0.04 },
10-
{ id: 'jvlrl98xw3', threshold: 0.05 },
10+
{ id: 'jvlrl98xw3', threshold: 0.05, waitFor: 6000 },
1111
'vVoQVk78',
1212
'github/faceyspacey/redux-first-router-codesandbox/tree/master',
1313
'mZRjw05yp',
@@ -59,7 +59,7 @@ describe('sandboxes', () => {
5959
timeout: 60000,
6060
});
6161
await waitFunction;
62-
await page.waitFor(2000);
62+
await page.waitFor(sandbox.waitFor || 2000);
6363

6464
const screenshot = await page.screenshot();
6565

0 commit comments

Comments
 (0)