Skip to content

Commit 21733fd

Browse files
authored
[fix] clicknav wait until network idle (#2902)
1 parent 87ac0e1 commit 21733fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/kit/test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ function duplicate(test_fn, config, is_build) {
234234
});
235235

236236
await Promise.all([
237+
context.pages.js.waitForNavigation({ waitUntil: 'networkidle' }),
237238
context.pages.js.click(selector),
238239
context.pages.js.evaluate(() => window.navigated)
239240
]);

0 commit comments

Comments
 (0)