diff --git a/createGoalTest.js b/createGoalTest.js index d4ea2442..b7cc50ab 100644 --- a/createGoalTest.js +++ b/createGoalTest.js @@ -1,7 +1,7 @@ const puppeteer = require('puppeteer'); let config = { launchOptions: { - headless: false, + headless: 'new', }, }; puppeteer.launch(config.launchOptions).then(async (browser) => { diff --git a/jest-puppeteer.config.js b/jest-puppeteer.config.js index 2c0b3c6e..b3d3f703 100644 --- a/jest-puppeteer.config.js +++ b/jest-puppeteer.config.js @@ -9,7 +9,7 @@ const baseOptions = { const ciPipelineOptions = { launch: { executablePath: '/usr/bin/google-chrome-stable', - headless: true, + headless: 'new', args: [ '--ignore-certificate-errors', '--no-sandbox',