-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprotractor.conf.js
49 lines (39 loc) · 1.53 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
var timeout = 60000;
exports.config = {
allScriptsTimeout: 11000,
specs: [
'examples/**/*.e2e.js'
//'examples/angularjs/milk-sold/index.e2e.js'
//'examples/angularjs/fertilizers-purchased/*.e2e.js'
//'examples/angularjs/concentrates-purchased/index-types.e2e.js'
//'examples/angularjs/concentrates-purchased/index.e2e.js'
//'examples/angularjs/forages-purchased/*.e2e.js'
//'examples/angularjs/legumes/*.e2e.js'
//'examples/angularjs/index.e2e.js'
//'examples/angularjs/index-load-existing.e2e.js'
],
capabilities: {
'browserName': 'chrome'//firefox chrome
},
baseUrl: 'http://localhost:8000/examples/angularjs',
resultJsonOutputFile: 'protractor.result',
framework: 'jasmine2',
jasmineNodeOpts: {
defaultTimeoutInterval: timeout
},
getPageTimeout: timeout,
onPrepare: function() {
// At this point, global variable 'protractor' object will be set up, and
// globals from the test framework will be available. For example, if you
// are using Jasmine, you can add a reporter with:
// jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter(
// 'protractor/', true, true));
// If you need access back to the current configuration object,
// use a pattern like the following:
// browser.getProcessedConfig().then(function(config) {
// // config.capabilities is the CURRENT capability being run, if
// // you are using multiCapabilities.
// console.log('Executing capability', config.capabilities);
// });
}
};