-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-saucelabs.conf.js
57 lines (54 loc) · 1.16 KB
/
karma-saucelabs.conf.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
var baseConfigurator = require('./karma.conf.js');
module.exports = function(config) {
baseConfigurator(config);
var customLaunchers = {
SauceLabs_Chrome: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 7',
version: '43'
},
SauceLabs_IE8_XP: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows xp',
version: '8'
},
SauceLabs_IE8_Win7: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 7',
version: '8'
},
SauceLabs_IE9: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 7',
version: '9'
},
SauceLabs_IE10: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8',
version: '10'
},
SauceLabs_IE11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
}
};
config.set({
sauceLabs: {
testName: 'mock4js tests',
username: 'bladerunnerjs',
connectOptions: {
logfile: 'sauce_connect.log'
}
},
reporters: ['progress', 'saucelabs'],
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers)
});
};