Last change
on this file since b36a754 was b36a754, checked in by Your Name <you@…>, 4 years ago |
Angular app created
|
-
Property mode
set to
100644
|
File size:
808 bytes
|
Rev | Line | |
---|
[b36a754] | 1 | // @ts-check
|
---|
| 2 | // Protractor configuration file, see link for more information
|
---|
| 3 | // https://github.com/angular/protractor/blob/master/lib/config.ts
|
---|
| 4 |
|
---|
| 5 | const { SpecReporter } = require('jasmine-spec-reporter');
|
---|
| 6 |
|
---|
| 7 | /**
|
---|
| 8 | * @type { import("protractor").Config }
|
---|
| 9 | */
|
---|
| 10 | exports.config = {
|
---|
| 11 | allScriptsTimeout: 11000,
|
---|
| 12 | specs: [
|
---|
| 13 | './src/**/*.e2e-spec.ts'
|
---|
| 14 | ],
|
---|
| 15 | capabilities: {
|
---|
| 16 | browserName: 'chrome'
|
---|
| 17 | },
|
---|
| 18 | directConnect: true,
|
---|
| 19 | baseUrl: 'http://localhost:4200/',
|
---|
| 20 | framework: 'jasmine',
|
---|
| 21 | jasmineNodeOpts: {
|
---|
| 22 | showColors: true,
|
---|
| 23 | defaultTimeoutInterval: 30000,
|
---|
| 24 | print: function() {}
|
---|
| 25 | },
|
---|
| 26 | onPrepare() {
|
---|
| 27 | require('ts-node').register({
|
---|
| 28 | project: require('path').join(__dirname, './tsconfig.json')
|
---|
| 29 | });
|
---|
| 30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
|
---|
| 31 | }
|
---|
| 32 | }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.