forked from hatchteam/twigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractor-e2e.conf.js
More file actions
executable file
·47 lines (35 loc) · 1.11 KB
/
protractor-e2e.conf.js
File metadata and controls
executable file
·47 lines (35 loc) · 1.11 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
'use strict';
var e2eBaseUrl = 'http://localhost:9000/demo/';
var exportsConfig = {
// The location of the selenium standalone server .jar file.
seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.40.0.jar',
// find its own unused port.
seleniumPort: null,
chromeDriver: './node_modules/protractor/selenium/chromedriver.exe',
seleniumArgs: [],
allScriptsTimeout: 11000,
specs: [
'test/e2e/specs/*_spec.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: e2eBaseUrl,
rootElement: 'body',
params: {
baseUrl: e2eBaseUrl
},
jasmineNodeOpts: {
// onComplete will be called just before the driver quits.
onComplete: null,
// If true, display spec names.
isVerbose: false,
// If true, print colors to the terminal.
showColors: true,
// If true, include stack traces in failures.
includeStackTrace: true,
// Default time to wait in ms before a test fails.
defaultTimeoutInterval: 30000
}
};
exports.config = exportsConfig;