2020-06-29 18:14:36 -04:00
|
|
|
module.exports = {
|
2020-11-12 10:33:13 -05:00
|
|
|
test_page: 'tests/index.html?hidepassed',
|
2020-06-29 18:14:36 -04:00
|
|
|
disable_watching: true,
|
|
|
|
|
launchers: {
|
2020-11-12 10:33:13 -05:00
|
|
|
Electron: require('ember-electron/lib/test-runner'),
|
2020-06-29 18:14:36 -04:00
|
|
|
},
|
2020-11-12 10:33:13 -05:00
|
|
|
launch_in_ci: ['Electron'],
|
|
|
|
|
launch_in_dev: ['Electron'],
|
2020-06-29 18:14:36 -04:00
|
|
|
browser_args: {
|
|
|
|
|
Electron: {
|
|
|
|
|
// Note: Some these Chrome options may not be supported in Electron
|
|
|
|
|
// See https://electronjs.org/docs/api/chrome-command-line-switches
|
|
|
|
|
ci: [
|
|
|
|
|
// --no-sandbox is needed when running Chrome inside a container
|
2020-11-12 10:33:13 -05:00
|
|
|
process.env.CI ? '--no-sandbox' : null,
|
|
|
|
|
'--headless',
|
|
|
|
|
'--disable-dev-shm-usage',
|
|
|
|
|
'--disable-software-rasterizer',
|
|
|
|
|
'--mute-audio',
|
|
|
|
|
'--remote-debugging-port=0',
|
|
|
|
|
'--window-size=1440,900',
|
2020-11-11 16:43:49 -05:00
|
|
|
].filter(Boolean),
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-06-29 18:14:36 -04:00
|
|
|
};
|