From ef050de33cc6c605c63795adcd2b472d4fb4cb0f Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Thu, 23 Feb 2023 10:14:17 +0100 Subject: [PATCH] Run ChromeHeadLess without sandbox in CI (#598) --- Gruntfile.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 9d0d84a83..367fa59f8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,7 +28,13 @@ module.exports = function(grunt) { karma: { options: { singleRun: true, - browsers: process.env.CI ? ['ChromeHeadless'] : ['Chrome'] + browsers: process.env.CI ? ['ChromeHeadlessNoSandbox'] : ['Chrome'], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: 'ChromeHeadless', + flags: ['--no-sandbox'] + } + } }, test: { configFile: './test/karma.conf.js',