forked from lukas-shawford/swot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathe2e.conf.js
33 lines (27 loc) · 932 Bytes
/
e2e.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
// Configuration file for end-to-end tests using Protractor.
exports.config = {
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
// The base URL of the app we're testing
baseUrl: 'http://localhost:' + (process.env.PORT || '3033') + '/',
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// Spec patterns are relative to the current working directly when
// protractor is called.
specs: ['test/e2e/**/*.spec.js'],
// Options to be passed to Jasmine-node.
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
},
/**
* A callback function called once protractor is ready and available,
* and before the specs are executed.
*
* You can specify a file containing code to run by setting onPrepare to
* the filename string.
*/
onPrepare: 'test/e2e/prepare.js'
};