Skip to content

Commit

Permalink
ChromeCanary Support
Browse files Browse the repository at this point in the history
  • Loading branch information
ishita12 committed Jan 24, 2018
1 parent 70b0095 commit dbbde38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = function(config) {

if (process.env.TRAVIS) {
config.browsers = ['ChromeHeadlessNoSandbox'];
}else {
config.browsers = ['ChromeCanaryHeadlessNoSandbox', 'FirefoxHeadless'];
} else {
config.browsers = ['ChromeHeadlessNoSandbox', 'ChromeCanaryHeadlessNoSandbox', 'FirefoxHeadless'];
}

// If no browsers are specified, we enable `karma-detect-browsers`
Expand All @@ -32,7 +32,7 @@ module.exports = function(config) {
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
flags: ['--no-sandbox', '--autoplay-policy=no-user-gesture-required']
},
ChromeCanaryHeadlessNoSandbox: {
base: 'ChromeCanaryHeadless',
Expand Down

0 comments on commit dbbde38

Please sign in to comment.