-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
38 lines (34 loc) · 1019 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
38
var SpecReporter = require('jasmine-spec-reporter');
var reporters = require('jasmine-reporters');
var JUnitXmlReporter = reporters.JUnitXmlReporter;
exports.config = {
framework: 'jasmine2',
directConnect: true,
specs: [
'tests/e2e/**/*.spec.js'
],
capabilities: {
browserName: 'chrome'
},
baseUrl: 'http://localhost:8000',
allScriptsTimeout: 500000,
restartBrowserBetweenTests: false,
onPrepare: function () {
var reporter = new SpecReporter({
displayStacktrace: true,
displaySpecDuration: true,
displaySuiteNumber: true
});
jasmine.getEnv().addReporter(reporter);
browser.driver.manage().window().setSize(1440, 1000);
browser.driver.manage().deleteAllCookies();
},
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
isVerbose: true,
includeStackTrace: true,
showTiming: true,
realtimeFailure: true
}
};