linkerd2/web/app/integration/wdio.conf.js

31 lines
679 B
JavaScript

exports.config = {
port: 9515, // default for ChromeDriver
path: '/',
services: ['chromedriver'],
runner: 'local',
before: function() {
const chai = require('chai')
global.dashboardAddress = "http://localhost:7777" // dashboard address
global.expect = chai.expect
chai.Should()
},
specs: [
'./integration/specs/*.js'
],
exclude: [
// 'path/to/excluded/files'
],
maxInstances: 10,
capabilities: [{browserName: 'chrome'}],
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 60000
}
}