annotate protractor.conf.js @ 380:b81ed55fdee3
Basic notes component in place. Room for reducing dupe across these WaveComponent derived components, but will wait until all of them are implemented to see the common logic.
author |
Lucas Thompson <dev@lucas.im> |
date |
Wed, 31 May 2017 15:15:55 +0100 |
parents |
53ea6406d601 |
children |
|
rev |
line source |
angular-cli@0
|
1 // Protractor configuration file, see link for more information
|
dev@236
|
2 // https://github.com/angular/protractor/blob/master/lib/config.ts
|
angular-cli@0
|
3
|
dev@236
|
4 const { SpecReporter } = require('jasmine-spec-reporter');
|
angular-cli@0
|
5
|
angular-cli@0
|
6 exports.config = {
|
angular-cli@0
|
7 allScriptsTimeout: 11000,
|
angular-cli@0
|
8 specs: [
|
angular-cli@0
|
9 './e2e/**/*.e2e-spec.ts'
|
angular-cli@0
|
10 ],
|
angular-cli@0
|
11 capabilities: {
|
angular-cli@0
|
12 'browserName': 'chrome'
|
angular-cli@0
|
13 },
|
angular-cli@0
|
14 directConnect: true,
|
angular-cli@0
|
15 baseUrl: 'http://localhost:4200/',
|
angular-cli@0
|
16 framework: 'jasmine',
|
angular-cli@0
|
17 jasmineNodeOpts: {
|
angular-cli@0
|
18 showColors: true,
|
angular-cli@0
|
19 defaultTimeoutInterval: 30000,
|
angular-cli@0
|
20 print: function() {}
|
angular-cli@0
|
21 },
|
angular-cli@0
|
22 beforeLaunch: function() {
|
angular-cli@0
|
23 require('ts-node').register({
|
dev@236
|
24 project: 'e2e/tsconfig.e2e.json'
|
angular-cli@0
|
25 });
|
angular-cli@0
|
26 },
|
dev@236
|
27 onPrepare() {
|
dev@236
|
28 jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
|
angular-cli@0
|
29 }
|
angular-cli@0
|
30 };
|