forked from bvaughn/angular-form-for
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractor.conf.js
More file actions
33 lines (26 loc) · 767 Bytes
/
protractor.conf.js
File metadata and controls
33 lines (26 loc) · 767 Bytes
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
var config = {
allScriptsTimeout: 11000,
capabilities: {
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2
},
specs: [
'tests/integration/**/*.js'
],
seleniumAddress: 'http://localhost:4444/wd/hub',
baseUrl: 'http://localhost:8000/examples/',
framework: 'jasmine',
rootElement: 'body',
jasmineNodeOpts: {
showColors: true, // Use colors in the command line report.
defaultTimeoutInterval: 30000
}
};
if (process.env.TRAVIS_BUILD_NUMBER) {
config.sauceUser = process.env.SAUCE_USERNAME;
config.sauceKey = process.env.SAUCE_ACCESS_KEY;
config.capabilities['tunnel-identifier'] = process.env.TRAVIS_JOB_NUMBER;
config.capabilities.build = process.env.TRAVIS_BUILD_NUMBER;
}
exports.config = config;