Skip to content

Commit b4fbdfb

Browse files
committed
test: increase sleep for a couple of tests
1 parent 3805a72 commit b4fbdfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/quicklink.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ mainSuite('should prefetch in-viewport links from NodeList', async context => {
9595
responseURLs.push(resp.url());
9696
});
9797
await context.page.goto(`${server}/test-node-list.html`);
98-
await sleep();
98+
await sleep(1500);
9999
assert.instance(responseURLs, Array);
100100
assert.ok(responseURLs.includes(`${server}/2.html`));
101101
assert.ok(responseURLs.includes(`${server}/3.html`));
@@ -107,7 +107,7 @@ mainSuite('should only prefetch links if allowed in origins list', async context
107107
responseURLs.push(resp.url());
108108
});
109109
await context.page.goto(`${server}/test-allow-origin.html`);
110-
await sleep(1000);
110+
await sleep(1500);
111111
assert.instance(responseURLs, Array);
112112

113113
// => origins: ['github.githubassets.com']

0 commit comments

Comments
 (0)