forked from Nolanus/ngx-page-scroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotractor.conf.js
37 lines (35 loc) · 884 Bytes
/
protractor.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
var browsers = [];
if (process.env.TRAVIS) {
browsers.push({
browserName: 'firefox'
});
} else {
browsers.push({
browserName: 'chrome'
});
}
exports.config = {
baseUrl: 'http://127.0.0.1:4200/',
specs: ['test/e2e/**/*.spec.js'],
directConnect: true,
exclude: [],
multiCapabilities: browsers,
allScriptsTimeout: 110000,
getPageTimeout: 100000,
framework: 'jasmine2',
jasmineNodeOpts: {
isVerbose: false,
showColors: true,
includeStackTrace: false,
defaultTimeoutInterval: 400000,
helpers: ['node_modules/jasmine-expect/index.js']
},
/**
* ng2 related configuration
*
* useAllAngular2AppRoots: tells Protractor to wait for any angular2 apps on the page instead of just the one matching
* `rootEl`
*
*/
useAllAngular2AppRoots: true
};