-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor-conf.js
34 lines (28 loc) · 850 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
var files;
var report;
if (process.env.PTOR_TEST_RUN === 'system') {
files = ['test/system/*.js'];
report = 'system-tests';
} else {
//start with login and end with installation page, because of angular synchronization issues
files = ['test/ui/login-test.js', 'test/ui/location-test.js', 'test/ui/confirm-test.js', 'test/ui/start-test.js', 'test/ui/install-test.js'];
report = 'ui-tests';
}
exports.config = {
directConnect: true,
specs: files,
framework: 'jasmine2',
capabilities: {
browserName: 'chrome',
chromeOptions: {
binary: './dist/win/devsuite-win32-x64/devsuite.exe'
}
},
onPrepare: function() {
var jasmineReporters = require('jasmine-reporters');
jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({
consolidateAll: true,
filePrefix: report
}));
}
}