forked from applitools/Eyes.Selenium.JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractor.conf.js
More file actions
27 lines (26 loc) · 848 Bytes
/
Copy pathprotractor.conf.js
File metadata and controls
27 lines (26 loc) · 848 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
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: [
'./test/protractor/**/*.js'
],
capabilities: {
browserName: 'chrome'
},
restartBrowserBetweenTests: true,
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 300000
},
onPrepare: function() {
// we need this to get appName and testName and pass them to eyes.open in beforeEach
jasmine.getEnv().addReporter({
specStarted: function(result) {
global.testName = result.description;
global.appName = result.fullName.replace(" " + testName, "");
}
});
},
};