Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Run ChromeHeadLess without sandbox in CI (RobotWebTools#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Feb 23, 2023
1 parent 9f99e2b commit e873757
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e873757

Please sign in to comment.