forked from angular/angularfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protractor.conf.js
35 lines (31 loc) · 990 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
var httpServer = require('http-server');
// An example configuration file.
exports.config = {
baseUrl: 'http://localhost:8080/dist-test/e2e/',
directConnect: true,
// seleniumAddress: 'http://localhost:4444/wd/hub',
seleniumServerJar: 'node_modules/protractor/selenium/selenium-server-standalone-2.48.2.jar',
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// Framework to use. Jasmine is recommended.
framework: 'jasmine',
// Spec patterns are relative to the current working directly when
// protractor is called.
specs: ['dist-test/**/*.spec.js'],
allScriptsTimeout: 110000,
onPrepare: function() {
browser.ignoreSynchronization = true;
},
beforeLaunch: function () {
httpServer.createServer({
showDir: false
}).listen('8080', 'localhost');
},
// Options to be passed to Jasmine.
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
},
useAllAngular2AppRoots: true
};