forked from emberjs/ember.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testem.browserstack.js
71 lines (69 loc) · 1.36 KB
/
testem.browserstack.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
const FailureOnlyPerBrowserReporter = require('testem-failure-only-reporter/grouped-by-browser');
const BrowserStackLaunchers = {
BS_Safari_12: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'OS X',
'--osv',
'Mojave',
'--b',
'safari',
'--bv',
'latest', // Will always be 12.x on Mojave
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_MS_Edge: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'10',
'--b',
'edge',
'--bv',
'93',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_MS_Chrome: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'11',
'--b',
'Chrome',
'--bv',
'92',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
};
module.exports = {
test_page: 'dist/tests/index.html?hidepassed&hideskipped&timeout=60000',
timeout: 1200,
reporter: FailureOnlyPerBrowserReporter,
browser_start_timeout: 2000,
browser_disconnect_timeout: 120,
parallel: 4,
disable_watching: true,
launchers: BrowserStackLaunchers,
launch_in_dev: [],
launch_in_ci: Object.keys(BrowserStackLaunchers),
};