mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
Added webdriverio integration tests
This commit is contained in:
committed by
Danny Coates
parent
bd02b7db8e
commit
23d629b80b
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'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user