forked from valor-software/ngx-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
protractor.saucelabs.conf.js
53 lines (52 loc) · 1.23 KB
/
protractor.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
'use strict';
exports.config = {
sauceUser: process.env.SAUCE_USERNAME,
sauceKey: process.env.SAUCE_ACCESS_KEY,
baseUrl: 'http://valor-software.com/ng2-bootstrap/',
specs: [
'./demo/dist/out-tsc-e2e/**/*.e2e-spec.js'
],
multiCapabilities: [{
browserName: 'Firefox',
platform: 'Windows 7',
version: '46.0'
}, {
browserName: 'chrome',
version: "52.0",
platform: "Windows 7"
}, {
browserName: 'internet explorer',
version: "9.0",
platform: "Windows 7"
}, {
browserName: 'internet explorer',
version: "9.0",
platform: "Windows 8"
},
{
browserName: 'internet explorer',
version: "11.0",
platform: "Windows 8.1"
}
// {
// browserName: 'MicrosoftEdge',
// version: "13.0",
// platform: "Windows 10"
// }, {
// browserName: 'Safari',
// version: "9.0",
// platform: "OS X 7.0"
// }
],
onPrepare: function () {
browser.driver.manage().window().maximize();
},
onComplete: function() {
var printSessionId = function(jobName){
browser.getSession().then(function(session) {
console.log('SauceOnDemandSessionID=' + session.getId() + ' job-name=' + jobName);
});
}
printSessionId("Insert Job Name Here");
}
};