From 3cf694e5aa1820f57e8716b9c328a101fd8c9116 Mon Sep 17 00:00:00 2001 From: Vincent JAILLOT Date: Fri, 20 Jan 2023 09:44:27 +0100 Subject: [PATCH] test to remove navigation timeout --- test/hooks_functional.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hooks_functional.js b/test/hooks_functional.js index 84936c0928..48f2f16dbb 100644 --- a/test/hooks_functional.js +++ b/test/hooks_functional.js @@ -112,7 +112,7 @@ const loadExample = async (url, screenshotName) => { const pageErrors = []; page.on('pageerror', (e) => { pageErrors.push(e); }); - await page.goto(url); + await page.goto(url, { timeout: 0 }); pageErrors.forEach((e) => { throw e; });