blob: ffded70180a2eaae72c5ff2a001de36447e5da93 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001// Protractor configuration file, see link for more information
2// https://github.com/angular/protractor/blob/master/lib/config.ts
3
4/*global jasmine */
5var SpecReporter = require('jasmine-spec-reporter');
6
7exports.config = {
8 allScriptsTimeout: 11000,
9 specs: [
10 './e2e/**/*.e2e-spec.ts'
11 ],
12 capabilities: {
13 'browserName': 'chrome'
14 },
15 directConnect: true,
16 baseUrl: 'http://localhost:4200/',
17 framework: 'jasmine',
18 jasmineNodeOpts: {
19 showColors: true,
20 defaultTimeoutInterval: 30000,
21 print: function() {}
22 },
23 useAllAngular2AppRoots: true,
24 beforeLaunch: function() {
25 require('ts-node').register({
26 project: 'e2e'
27 });
28 },
29 onPrepare: function() {
30 jasmine.getEnv().addReporter(new SpecReporter());
31 }
32};