comparison protractor.conf.js @ 256:6d128e43f4d5

Merge remote-tracking branch 'lucas/feature/determinate-spinner'
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 28 Apr 2017 09:23:57 +0100
parents 53ea6406d601
children
comparison
equal deleted inserted replaced
222:990b0fc68653 256:6d128e43f4d5
1 // Protractor configuration file, see link for more information 1 // Protractor configuration file, see link for more information
2 // https://github.com/angular/protractor/blob/master/docs/referenceConf.js 2 // https://github.com/angular/protractor/blob/master/lib/config.ts
3 3
4 /*global jasmine */ 4 const { SpecReporter } = require('jasmine-spec-reporter');
5 var SpecReporter = require('jasmine-spec-reporter');
6 5
7 exports.config = { 6 exports.config = {
8 allScriptsTimeout: 11000, 7 allScriptsTimeout: 11000,
9 specs: [ 8 specs: [
10 './e2e/**/*.e2e-spec.ts' 9 './e2e/**/*.e2e-spec.ts'
18 jasmineNodeOpts: { 17 jasmineNodeOpts: {
19 showColors: true, 18 showColors: true,
20 defaultTimeoutInterval: 30000, 19 defaultTimeoutInterval: 30000,
21 print: function() {} 20 print: function() {}
22 }, 21 },
23 useAllAngular2AppRoots: true,
24 beforeLaunch: function() { 22 beforeLaunch: function() {
25 require('ts-node').register({ 23 require('ts-node').register({
26 project: 'e2e' 24 project: 'e2e/tsconfig.e2e.json'
27 }); 25 });
28 }, 26 },
29 onPrepare: function() { 27 onPrepare() {
30 jasmine.getEnv().addReporter(new SpecReporter()); 28 jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31 } 29 }
32 }; 30 };