forked from zxhfighter/measure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
32 lines (29 loc) · 911 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
const fs = require('fs');
const path = require('path');
// Load ts-node to be able to execute TypeScript files with protractor.
require('ts-node').register({
project: path.join(__dirname, './e2e/')
});
const config = {
framework: 'jasmine',
useAllAngular2AppRoots: true,
specs: [path.join(__dirname, './e2e/**/*.spec.ts')],
baseUrl: 'https://localhost:9019',
allScriptsTimeout: 120000,
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 120000,
print: function() {}
},
directConnect: true,
capabilities: {
'browserName': 'chrome',
'version': 'latest',
'chromedriverVersion': '2.28',
'name': 'measure E2E Tests',
// Enables concurrent testing in the Webdriver. Currently runs five e2e files in parallel.
'maxInstances': 5,
'shardTestFiles': true
}
};
exports.config = config;