2022-08-09 15:26:25 +00:00
|
|
|
// eslint-disable-next-line n/no-extraneous-require
|
2018-10-04 00:39:39 +00:00
|
|
|
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, {
|
2019-03-13 00:56:31 +00:00
|
|
|
baseUrl: `http://${ip.address()}:8000`,
|
2018-10-04 00:39:39 +00:00
|
|
|
maxInstances: 1,
|
|
|
|
bail: 1,
|
2019-03-13 00:47:54 +00:00
|
|
|
services: [require('./testServer'), 'selenium-standalone']
|
2018-10-04 00:39:39 +00:00
|
|
|
});
|