send/test/wdio.circleci.conf.js

17 lines
407 B
JavaScript
Raw Normal View History

2018-10-04 00:39:39 +00:00
// eslint-disable-next-line node/no-extraneous-require
const ip = require('ip');
const common = require('./wdio.common.conf');
/*/
Config for running selenium from a circleci docker container against localhost
/*/
exports.config = Object.assign({}, common.config, {
baseUrl: `http://${ip.address()}:8080`,
2018-10-04 00:39:39 +00:00
maxInstances: 1,
bail: 1,
services: [require('./testServer'), 'selenium-standalone']
2018-10-04 00:39:39 +00:00
});