Skip to content

Commit

Permalink
custom tests in Chrome on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
maxyh committed Apr 3, 2018
1 parent 41e0c2f commit 66d8b76
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,12 @@ module.exports = config => {
colors: true,
browsers: [
//'PhantomJS',
//'ChromeHeadless',
'Chrome_travis_ci',
'ChromeHeadless',
//'Chrome',
//'ChromeCanary',
//'Safari',
//'Firefox',
'FirefoxHeadless',
//'Firefox',
//'Safari',
],
logLevel: config.LOG_INFO,
client: {
Expand All @@ -115,9 +114,13 @@ module.exports = config => {
base: 'Chrome',
flags: ['--remote-debugging-port=9333']
},
ChromeHeadless_travis_ci: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
},
Chrome_travis_ci: {
base: 'Chrome',
//flags: ['--no-sandbox']
flags: ['--no-sandbox']
}
},
browserConsoleLogOptions: {
Expand Down Expand Up @@ -163,6 +166,10 @@ module.exports = config => {
};
console.error('Configured SauceLabs');
} else {
cfg.browsers = [
'ChromeHeadless_travis_ci',
'Chrome_travis_ci'
];
console.error('No SauceLabs credentials present');
}
} else if (env.APPVEYOR) {
Expand Down

0 comments on commit 66d8b76

Please sign in to comment.