Skip to content

Commit

Permalink
Merge pull request videojs#10 from ishita12/test
Browse files Browse the repository at this point in the history
ChromeCanary Support
  • Loading branch information
ishita12 authored Jan 24, 2018
2 parents 4ec3e53 + dbbde38 commit 77fee22
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 77fee22

Please sign in to comment.