Projekt

Obecné

Profil

Stáhnout (808 Bajtů) Statistiky
| Větev: | Tag: | Revize:
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
};
(1-1/2)