-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
102 lines (65 loc) · 1.9 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/SeleniumTests/protractor.conf.js to edit this template
*/
exports.config = {
seleniumServerJar: null,
seleniumPort: null,
seleniumArgs: [],
chromeDriver: null,
seleniumAddress: null,
sauceUser: null,
sauceKey: null,
sauceSeleniumAddress: null,
directConnect: false,
firefoxPath: null,
chromeOnly: false,
exclude: [],
capabilities: {
browserName: 'chrome',
count: 1,
shardTestFiles: false,
maxInstances: 1,
specs: [],
exclude: []
},
multiCapabilities: [],
maxSessions: -1,
baseUrl: 'http://localhost:9876',
rootElement: 'body',
allScriptsTimeout: 11000,
getPageTimeout: 10000,
beforeLaunch: function () {
},
onPrepare: function () {
},
onComplete: function () {
},
onCleanUp: function (exitCode) {},
afterLaunch: function () {},
params: {
login: {
user: 'Jane',
password: '1234'
}
},
resultJsonOutputFile: null,
restartBrowserBetweenTests: false,
framework: 'jasmine',
jasmineNodeOpts: {
isVerbose: false,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 30000
},
mochaOpts: {
ui: 'bdd',
reporter: 'list'
},
// Options to be passed to Cucumber.
cucumberOpts: {
require: 'cucumber/stepDefinitions.js',
tags: '@dev',
format: 'summary'
}
};