2016-11-14 16:16:51 +03:00
|
|
|
/* eslint-env node */
|
2017-07-31 12:38:46 +03:00
|
|
|
/* eslint-disable camelcase */
|
2016-03-01 10:38:03 +03:00
|
|
|
module.exports = {
|
2017-07-31 12:38:46 +03:00
|
|
|
framework: 'mocha',
|
|
|
|
test_page: 'tests/index.html?hidepassed',
|
|
|
|
disable_watching: true,
|
|
|
|
launch_in_ci: [
|
2016-03-01 10:38:03 +03:00
|
|
|
'Chrome',
|
|
|
|
'Firefox'
|
|
|
|
],
|
2017-07-31 12:38:46 +03:00
|
|
|
launch_in_dev: [
|
2016-03-01 10:38:03 +03:00
|
|
|
'Chrome',
|
|
|
|
'Firefox'
|
2017-09-02 12:19:07 +03:00
|
|
|
],
|
|
|
|
browser_args: {
|
2017-10-12 18:42:10 +03:00
|
|
|
Chrome: {
|
2019-01-02 12:58:55 +03:00
|
|
|
ci: [
|
2018-02-28 20:31:43 +03:00
|
|
|
// --no-sandbox is needed when running Chrome inside a container
|
2019-01-02 12:58:55 +03:00
|
|
|
process.env.CI ? '--no-sandbox' : null,
|
2017-09-02 12:19:07 +03:00
|
|
|
'--headless',
|
2019-01-02 12:58:55 +03:00
|
|
|
'--disable-gpu',
|
|
|
|
'--disable-dev-shm-usage',
|
|
|
|
'--disable-software-rasterizer',
|
|
|
|
'--mute-audio',
|
2017-12-13 15:27:15 +03:00
|
|
|
'--remote-debugging-port=0',
|
2017-09-02 12:19:07 +03:00
|
|
|
'--window-size=1440,900'
|
2018-02-28 20:31:43 +03:00
|
|
|
].filter(Boolean)
|
2017-09-02 12:19:07 +03:00
|
|
|
}
|
|
|
|
}
|
2016-03-01 10:38:03 +03:00
|
|
|
};
|