From 1acde5def375c3f0d829c633839cdc63018bfb22 Mon Sep 17 00:00:00 2001 From: Wojciech Sapiechowski Date: Mon, 6 Jul 2020 08:14:03 +0200 Subject: [PATCH] Do not reload --- core/util/runPuppet.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/util/runPuppet.js b/core/util/runPuppet.js index 3646ab709..9cfcb6901 100644 --- a/core/util/runPuppet.js +++ b/core/util/runPuppet.js @@ -135,7 +135,6 @@ async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenar } // Open the URL for a first time - await page.goto(translateUrl(url) + bypass, {waitUntil: 'networkidle0'}); await page.evaluate(`location.reload(true);`); console.log(chalk.green('Opening URL:', translateUrl(url) + bypass)); @@ -172,7 +171,7 @@ async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenar } } - await page.waitFor(2000); + // await page.waitFor(2000); await injectBackstopTools(page);