Skip to content

Commit

Permalink
Do not reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Sapiechowski committed Jul 6, 2020
1 parent f3955d6 commit 1acde5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/util/runPuppet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -172,7 +171,7 @@ async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenar
}
}

await page.waitFor(2000);
// await page.waitFor(2000);

await injectBackstopTools(page);

Expand Down

0 comments on commit 1acde5d

Please sign in to comment.