-
Notifications
You must be signed in to change notification settings - Fork 151
/
testem-ci.js
39 lines (39 loc) · 1.18 KB
/
testem-ci.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* eslint-env node */
module.exports = {
framework: 'qunit',
parallel: 5,
disable_watching: true,
timeout: 600,
browser_start_timeout: 90,
test_page: 'tests/index.html?hidepassed',
on_start: './sauce_labs/saucie-connect.js',
on_exit: './sauce_labs/saucie-disconnect.js',
port: 8080,
launchers: {
SL_Chrome_Current: {
exe: 'saucie',
args: ['-b', 'chrome', '-p', 'Windows 10', '-v', 'latest', '--no-connect', '-u'],
protocol: 'tap',
},
SL_MS_Edge: {
exe: 'saucie',
args: ['-b', 'microsoftedge', '-v', 'latest', '--no-connect', '-u'],
protocol: 'tap',
},
SL_Safari_Current: {
exe: 'saucie',
args: ['-b', 'safari', '-v', 'latest', '--no-connect', '-u'],
protocol: 'tap',
},
},
launch_in_ci: ['Chrome', 'Firefox', ...(process.env.SAUCE_ACCESS_KEY ? ['SL_Safari_Current', 'SL_MS_Edge'] : [])], // eslint-disable-line no-process-env
browser_args: {
Chrome: [
'--no-sandbox', // Fixes issue starting ChromeHeadless, see https://github.com/travis-ci/travis-ci/issues/9024
'--disable-gpu',
'--headless',
'--remote-debugging-port=9222',
'--window-size=1440,900',
],
},
}