Use selenium standalone service to run tests

This commit is contained in:
Filip Proborszcz
2022-04-08 03:37:40 +02:00
parent d73add77e7
commit 174eae1cf4
3 changed files with 10 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ exports.config = {
browserName: (process.env.BROWSER || 'chrome'),
}
],
services: ['selenium-standalone'],
services: process.env.DOCKER_HOST ? [] : ['selenium-standalone'],
logLevel: 'info',
bail: 0,
screenshotPath: SCREENSHOT_PATH,