Project

General

Profile

1
exports.config = {
2
  baseUrl: 'http://localhost:8080/',
3

    
4
  specs: [
5
    'src/**/*.e2e-spec.js'
6
  ],
7
  exclude: [],
8

    
9
  framework: 'jasmine2',
10

    
11
  allScriptsTimeout: 110000,
12

    
13
  jasmineNodeOpts: {
14
    showTiming: true,
15
    showColors: true,
16
    isVerbose: false,
17
    includeStackTrace: false,
18
    defaultTimeoutInterval: 400000
19
  },
20
  directConnect: true,
21

    
22
  capabilities: {
23
    'browserName': 'chrome'
24
  },
25

    
26
  onPrepare: function () {
27
    var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
28
    // add jasmine spec reporter
29
    jasmine.getEnv().addReporter(new SpecReporter({displayStacktrace: true}));
30

    
31
    browser.ignoreSynchronization = true;
32
  },
33

    
34

    
35
  /**
36
   * Angular 2 configuration
37
   *
38
   * useAllAngular2AppRoots: tells Protractor to wait for any angular2 apps on the page instead of just the one matching
39
   * `rootEl`
40
   *
41
   */
42
  useAllAngular2AppRoots: true
43
};
(6-6/10)