File: wdio.config.js

package info (click to toggle)
bibledit 5.0.994-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 251,308 kB
  • sloc: xml: 915,984; ansic: 228,302; cpp: 98,690; javascript: 46,971; sh: 5,026; makefile: 514; php: 69
file content (32 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
exports.config = {
  specs: [
    './test/functional/epic.js'
  ],
  exclude: [],

  reporters: ['spec'],

  maxInstances: 10,
  capabilities: [{
    browserName: 'chrome'
  }],

  sync: true,
  logLevel: 'error',
  coloredLogs: true,

  baseUrl: 'http://localhost:' + process.env.npm_package_config_ports_proxy,

  waitforTimeout: 10000,
  connectionRetryTimeout: 90000,
  connectionRetryCount: 3,

  framework: 'jasmine',
  jasmineNodeOpts: {
    defaultTimeoutInterval: 10000,
    expectationResultHandler: function(passed, assertion) {
      if (passed) return;
      this.saveScreenshot('./wd-' + this.desiredCapabilities.browserName + '-error.png');
    }
  }
}