Skip to content

Commit

Permalink
Update karma.conf to run ChromeHeadlessNoSandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrome committed Dec 14, 2023
1 parent 8b81c07 commit 534511b
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: !isCI,
singleRun: isCI,
// browsers: ['ChromeHeadlessNoSandbox', 'ChromeNoSandbox'],
browsers: ['ChromeNoSandbox'],
//browsers: ['ChromeHeadlessNoSandbox', 'ChromeNoSandbox'],
browsers: ['ChromeHeadlessNoSandbox'],
customLaunchers: {
// ChromeHeadlessNoSandbox: {
// base: 'ChromeHeadless',
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox'],
},
// ChromeNoSandbox: {
// base: 'Chrome',
// flags: [
// '--no-sandbox',
// '--user-data-dir=/tmp/chrome-test-profile',
Expand All @@ -77,17 +81,6 @@ module.exports = function (config) {
// ],
// debug: true,
// },
ChromeNoSandbox: {
base: 'Chrome',
flags: [
'--no-sandbox',
'--user-data-dir=/tmp/chrome-test-profile',
'--disable-web-security',
'--remote-debugging-address=0.0.0.0',
'--remote-debugging-port=9222',
],
debug: true,
},
},
browserDisconnectTimeout: 10000,
browserDisconnectTolerance: 3,
Expand Down

0 comments on commit 534511b

Please sign in to comment.