Skip to content

Commit

Permalink
test: use custom chrome launcher in karma test
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Oct 14, 2021
1 parent 3b742e2 commit 6418c82
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion test/integration/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,21 @@ module.exports = function (config) {

//list of browsers to launch and capture
//browsers: ['Chrome'/*,'PhantomJS','Firefox','Edge','ChromeCanary','Opera','IE','Safari','FirefoxHeadless'*/],
browsers: ['ChromeHeadless'],
//list of browsers to launch and capture
//browsers: ['Chrome'/*,'PhantomJS','Firefox','Edge','ChromeCanary','Opera','IE','Safari'*/],
browsers: ['ChromeHeadlessCI'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: [
'--no-sandbox', // required to run without privileges in docker
'--headless',
'--disable-gpu',
'--disable-web-security'
],
debug: false,
},
},

//list of reporters to use
reporters: ['mocha', 'kjhtml','coverage' /*,'dots','progress','spec'*/],
Expand Down

0 comments on commit 6418c82

Please sign in to comment.