From 7a2384d8bd83741d9551b4adfd2cedc3154e7586 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Fri, 10 Nov 2023 12:54:00 +0100 Subject: [PATCH] new headless --- test/index.test.js | 1 + test/signals.test.js | 1 + test/suspense.test.js | 1 + 3 files changed, 3 insertions(+) diff --git a/test/index.test.js b/test/index.test.js index ede92dda..ec05dcfc 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -77,6 +77,7 @@ describe('Prefresh integrations', () => { await execa('yarn', { cwd: getTempDir(integration) }); browser = await puppeteer.launch({ + headless: 'new', args: ['--no-sandbox', '--disable-setuid-sandbox'], }); page = await browser.newPage(); diff --git a/test/signals.test.js b/test/signals.test.js index a21d4036..c46d92b9 100644 --- a/test/signals.test.js +++ b/test/signals.test.js @@ -51,6 +51,7 @@ describe('Signals', () => { await execa('yarn', { cwd: getTempDir(integration) }); browser = await puppeteer.launch({ + headless: 'new', args: ['--no-sandbox', '--disable-setuid-sandbox'], }); page = await browser.newPage(); diff --git a/test/suspense.test.js b/test/suspense.test.js index dfd79031..40aa86ea 100644 --- a/test/suspense.test.js +++ b/test/suspense.test.js @@ -51,6 +51,7 @@ describe('Suspense', () => { await execa('yarn', { cwd: getTempDir(integration) }); browser = await puppeteer.launch({ + headless: 'new', args: ['--no-sandbox', '--disable-setuid-sandbox'], }); page = await browser.newPage();