From a346d757fdf716acaaf6cc6ad085c9b0f84456eb Mon Sep 17 00:00:00 2001 From: orangemug Date: Mon, 9 Apr 2018 18:18:15 +0100 Subject: [PATCH] Don't assume docker for mac. --- config/wdio.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/wdio.conf.js b/config/wdio.conf.js index fad2549..b520bcf 100644 --- a/config/wdio.conf.js +++ b/config/wdio.conf.js @@ -26,7 +26,7 @@ exports.config = { bail: 0, screenshotPath: SCREENSHOT_PATH, // Note: This is here because @orangemug currently runs Maputnik inside a docker container. - host: (isDocker() ? "host.docker.internal" : "0.0.0.0"), + host: process.env.DOCKER_HOST || "0.0.0.0", baseUrl: 'http://localhost', waitforTimeout: 10000, connectionRetryTimeout: 90000,