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');
}
}
}
|