-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotractor.conf.js
50 lines (39 loc) · 991 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
39
40
41
42
43
44
45
46
47
48
49
50
/**
* @author: @AngularClass
*/
require('ts-node/register');
const HtmlReporter = require('protractor-jasmine2-html-reporter');
const projectConfig = require('./project.config');
module.exports.config = {
baseUrl: 'http://localhost:3000/',
// use `npm run test-e2e`
specs: [
projectConfig.testsDir+'/**/**.e2e.ts',
projectConfig.testsDir+'/**/*.e2e.ts'
],
exclude: [],
framework: 'jasmine2',
allScriptsTimeout: 110000,
jasmineNodeOpts: {
showTiming: true,
showColors: true,
isVerbose: false,
includeStackTrace: false,
defaultTimeoutInterval: 400000
},
directConnect: true,
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['show-fps-counter=true']
}
},
onPrepare: function() {
browser.ignoreSynchronization = true;
jasmine.getEnv().addReporter(new HtmlReporter({
savePath: 'reporters/e2e/',
screenshotsFolder: 'screenshots',
filePrefix: 'index'
}));
}
};