-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
karma.conf.ci.js
94 lines (93 loc) · 2.28 KB
/
karma.conf.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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
var TEST_LOADER = require('./test/loader-env');
module.exports = function(config) {
require('./karma.conf')(config);
config.set({
customLaunchers: {
SL_Chrome: {
base: 'SauceLabs',
browserName: 'chrome',
version: '57.0',
platform: 'macOS 10.12'
},
SL_Firefox: {
base: 'SauceLabs',
browserName: 'firefox',
version: '52.0',
platform: 'Windows 10'
},
SL_Safari: {
base: 'SauceLabs',
browserName: 'safari',
version: '10.1',
platform: 'macOS 10.12'
},
SL_Safari_9: {
base: 'SauceLabs',
browserName: 'safari',
version: '9.0',
platform: 'OS X 10.11'
},
SL_Safari_iPhone: {
base: 'SauceLabs',
browserName: 'Safari',
appiumVersion: '1.6.3',
deviceName: 'iPhone 6s Simulator',
deviceOrientation: 'portrait',
platformVersion: '10.2',
platformName: 'iOS'
},
SL_IE8: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '8.0',
platform: 'Windows 7'
},
SL_IE9: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '9.0',
platform: 'Windows 7'
},
SL_IE10: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '10.0',
platform: 'Windows 8'
},
SL_IE11: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '11.103',
platform: 'Windows 10'
},
SL_Edge: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
version: '14.14393',
platform: 'Windows 10'
}
},
browsers: [
'SL_Chrome',
'SL_Firefox',
'SL_Safari',
'SL_Safari_9',
'SL_Safari_iPhone',
'SL_IE8',
'SL_IE9',
'SL_IE10',
'SL_IE11',
'SL_Edge'
],
sauceLabs: {
testName: 'Script Loader Tests: ' + TEST_LOADER,
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
startConnect: process.env.TRAVIS !== 'true',
tags: ['TEST_LOADER=' + TEST_LOADER]
},
captureTimeout: 0,
browserDisconnectTimeout: 180000,
browserDisconnectTolerance: 5,
browserNoActivityTimeout: 180000
});
};