-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractor.conf.js
More file actions
55 lines (49 loc) · 1.18 KB
/
protractor.conf.js
File metadata and controls
55 lines (49 loc) · 1.18 KB
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
51
52
53
54
55
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
exports.config = {
allScriptsTimeout: 11000,
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': [
'--start-maximized',
],
}
},
directConnect: true,
baseUrl: 'http://localhost:4200', // Local URL
specs: [
'./e2e/features/Login.feature',
'./e2e/features/*/GenericCreate.feature',
'./e2e/features/*/GenericRead.feature',
'./e2e/features/*/GenericEdit.feature',
'./e2e/features/*/GenericDelete.feature',
],
framework:'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
cucumberOpts: {
require: [
'./e2e/step_definitions/*.definitions.ts',
'./e2e/hooks/*.hooks.ts'
],
tags: [],
strict: true,
format: [
'json:reports/summary.json',
],
dryRun: false,
compiler: []
},
params: {
itemDetails: {},
root: process.cwd(),
defaultTimer: 15000,
project: 'hmws',
},
onPrepare() {
require('ts-node').register({
project: 'e2e/tsconfig.e2e.json'
});
},
ignoreUncaughtExceptions: true,
};