Projekt

Obecné

Profil

Stáhnout (972 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, StacktraceOption } = require('jasmine-spec-reporter');
6

    
7
/**
8
 * @type { import("protractor").Config }
9
 */
10
exports.config = {
11
  allScriptsTimeout: 51000,
12
  specs: [
13
    './src/**/*.e2e-spec.ts'
14
  ],
15
  capabilities: {
16
    browserName: 'chrome',
17
    chromeOptions: {
18
      args: ['--window-size=1920,870']
19
    }
20
  },
21
  directConnect: true,
22
  SELENIUM_PROMISE_MANAGER: false,
23
  baseUrl: 'http://localhost:4200/',
24
  framework: 'jasmine',
25
  jasmineNodeOpts: {
26
    showColors: true,
27
    defaultTimeoutInterval: 50000,
28
    print: function() {}
29
  },
30
  onPrepare() {
31
    require('ts-node').register({
32
      project: require('path').join(__dirname, './tsconfig.json')
33
    });
34
    jasmine.getEnv().addReporter(new SpecReporter({
35
      spec: {
36
        displayStacktrace: StacktraceOption.PRETTY
37
      }
38
    }));
39
  }
40
};
(1-1/2)