forked from marmelab/ng-admin-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractor.conf.js
More file actions
26 lines (26 loc) · 847 Bytes
/
protractor.conf.js
File metadata and controls
26 lines (26 loc) · 847 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
exports.config = {
sauceUser: process.env.SAUCE_USERNAME,
sauceKey: process.env.SAUCE_ACCESS_KEY,
maxSessions: 1,
multiCapabilities: [
{
browserName: 'chrome',
build: process.env.TRAVIS_BUILD_NUMBER ? process.env.TRAVIS_BUILD_NUMBER : null,
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER ? process.env.TRAVIS_JOB_NUMBER : null,
name: 'react-admin'
}
],
specs: ['e2e/*.js'],
baseUrl: 'http://' + (process.env.CI ? 'reactadmin' : 'localhost') + ':8081/test.html',
jasmineNodeOpts: {
onComplete: null,
isVerbose: true,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 360000
},
framework: 'jasmine',
onPrepare: function () {
browser.ignoreSynchronization = true;
}
};