Added webdriverio integration tests
This commit is contained in:
parent
bd02b7db8e
commit
23d629b80b
40 changed files with 10815 additions and 4163 deletions
22
test/wdio.docker.conf.js
Normal file
22
test/wdio.docker.conf.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
const ip = require('ip');
|
||||
const common = require('./wdio.common.conf');
|
||||
|
||||
/*/
|
||||
|
||||
Config for running selenium in a new docker container against localhost
|
||||
|
||||
/*/
|
||||
|
||||
exports.config = Object.assign({}, common.config, {
|
||||
baseUrl: `http://${ip.address()}:8000`,
|
||||
maxInstances: 1,
|
||||
services: ['docker', require('./testServer')],
|
||||
dockerOptions: {
|
||||
image: 'selenium/standalone-firefox',
|
||||
healthCheck: 'http://localhost:4444',
|
||||
options: {
|
||||
p: ['4444:4444'],
|
||||
shmSize: '2g'
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue