2016-08-12 19:19:19 +02:00
|
|
|
module.exports = {
|
2017-07-29 15:00:11 +02:00
|
|
|
test_page: 'tests/index.html?hidepassed',
|
|
|
|
disable_watching: true,
|
|
|
|
launch_in_ci: [
|
2019-03-07 23:11:03 +01:00
|
|
|
'Chrome',
|
|
|
|
'Firefox',
|
2016-08-12 19:19:19 +02:00
|
|
|
],
|
2017-07-29 15:00:11 +02:00
|
|
|
launch_in_dev: [
|
|
|
|
'Chrome'
|
2018-10-28 22:54:14 +01:00
|
|
|
],
|
|
|
|
browser_args: {
|
2018-12-29 01:27:37 +01:00
|
|
|
Chrome: {
|
2018-12-29 20:35:04 +01:00
|
|
|
ci: [
|
2018-12-29 01:27:37 +01:00
|
|
|
// --no-sandbox is needed when running Chrome inside a container
|
2018-12-29 20:35:04 +01:00
|
|
|
process.env.CI ? '--no-sandbox' : null,
|
2018-12-29 01:27:37 +01:00
|
|
|
'--headless',
|
2018-12-29 20:35:04 +01:00
|
|
|
'--disable-dev-shm-usage',
|
|
|
|
'--disable-software-rasterizer',
|
|
|
|
'--mute-audio',
|
2018-12-29 01:27:37 +01:00
|
|
|
'--remote-debugging-port=0',
|
|
|
|
'--window-size=1440,900'
|
|
|
|
].filter(Boolean)
|
2019-03-07 23:11:03 +01:00
|
|
|
},
|
|
|
|
Firefox: {
|
|
|
|
ci: [
|
|
|
|
'--headless',
|
|
|
|
'--window-size=1440,900',
|
|
|
|
]
|
|
|
|
},
|
2018-10-28 22:54:14 +01:00
|
|
|
},
|
|
|
|
proxies: {
|
|
|
|
'/': {
|
|
|
|
target: 'http://localhost:4200',
|
|
|
|
onlyContentTypes: [
|
|
|
|
'json'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
launchers: {
|
|
|
|
SL_chrome: {
|
|
|
|
exe: 'ember',
|
|
|
|
args: [
|
|
|
|
'sauce:launch',
|
|
|
|
'-b',
|
|
|
|
'chrome',
|
|
|
|
'-p',
|
|
|
|
'Windows 10',
|
|
|
|
'--vi',
|
|
|
|
'public',
|
|
|
|
'--at',
|
|
|
|
'--no-ct',
|
|
|
|
'--u',
|
|
|
|
],
|
|
|
|
protocol: 'browser'
|
|
|
|
},
|
|
|
|
SL_firefox: {
|
|
|
|
exe: 'ember',
|
|
|
|
args: [
|
|
|
|
'sauce:launch',
|
|
|
|
'-b',
|
|
|
|
'firefox',
|
|
|
|
'-p',
|
|
|
|
'Windows 10',
|
|
|
|
'--vi',
|
|
|
|
'public',
|
|
|
|
'--at',
|
|
|
|
'--no-ct',
|
|
|
|
'--u',
|
|
|
|
],
|
|
|
|
protocol: 'browser'
|
|
|
|
},
|
|
|
|
SL_edge: {
|
|
|
|
exe: 'ember',
|
|
|
|
args: [
|
|
|
|
'sauce:launch',
|
|
|
|
'-b',
|
|
|
|
'microsoftedge',
|
|
|
|
'--vi',
|
|
|
|
'public',
|
|
|
|
'--at',
|
|
|
|
'--no-ct',
|
|
|
|
'--u',
|
|
|
|
],
|
|
|
|
protocol: 'browser'
|
|
|
|
},
|
|
|
|
SL_ie: {
|
|
|
|
exe: 'ember',
|
|
|
|
args: [
|
|
|
|
'sauce:launch',
|
|
|
|
'-b',
|
|
|
|
'internet explorer',
|
|
|
|
'-v',
|
|
|
|
'11',
|
|
|
|
'-p',
|
|
|
|
'Windows 10',
|
|
|
|
'--vi',
|
|
|
|
'public',
|
|
|
|
'--at',
|
|
|
|
'--no-ct',
|
|
|
|
'--u',
|
|
|
|
],
|
|
|
|
protocol: 'browser'
|
|
|
|
},
|
|
|
|
SL_safari: {
|
|
|
|
exe: 'ember',
|
|
|
|
args: [
|
|
|
|
'sauce:launch',
|
|
|
|
'-b',
|
|
|
|
'safari',
|
|
|
|
'-v',
|
|
|
|
'latest',
|
|
|
|
'--vi',
|
|
|
|
'public',
|
|
|
|
'--at',
|
|
|
|
'--no-ct',
|
|
|
|
'--u',
|
|
|
|
],
|
|
|
|
protocol: 'browser'
|
|
|
|
}
|
|
|
|
}
|
2016-08-12 19:19:19 +02:00
|
|
|
};
|