From 82b642fe8745e2d8b9af5e417a710e0a6e92f0e0 Mon Sep 17 00:00:00 2001 From: Joy Date: Sun, 10 Dec 2023 22:46:23 +0530 Subject: [PATCH] Chore : Specified headless to new --- createGoalTest.js | 2 +- jest-puppeteer.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',