From 01e6e8e357ed6843eba7fadf6cc90d37cf1f46dc Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:58:36 -0400 Subject: [PATCH] ci: Add --no-sandbox arg to a11y/percy tests. --- a11y/a11y.test.js | 2 +- percy/percy.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/a11y/a11y.test.js b/a11y/a11y.test.js index 255b0c23a..c1823caf9 100644 --- a/a11y/a11y.test.js +++ b/a11y/a11y.test.js @@ -58,7 +58,7 @@ beforeAll(async () => { }) // Web security is disabled to allow requests to the mock OTP server browser = await puppeteer.launch({ - args: ['--disable-web-security'] + args: ['--disable-web-security', '--no-sandbox'] }) }) diff --git a/percy/percy.test.js b/percy/percy.test.js index 6e8e8b1e6..37433032d 100644 --- a/percy/percy.test.js +++ b/percy/percy.test.js @@ -71,7 +71,7 @@ beforeAll(async () => { // Web security is disabled to allow requests to the mock OTP server browser = await puppeteer.launch({ - args: ['--disable-web-security'] + args: ['--disable-web-security', '--no-sandbox'] //, headless: false }) } catch (error) {