From 09ed1f05fe51274e22602daf70b0da33a409f979 Mon Sep 17 00:00:00 2001 From: Adam Wight Date: Fri, 6 Nov 2020 11:15:51 +0100 Subject: [PATCH] Compatibility with standalone chromedriver I don't understand how others are running the tests, but I need this configuration in order to run. They also appear in the mediawiki/core wdio.conf.js . Bug: T180247 Change-Id: Ic75bac41e0bf3cda3b23a4489e02f1dde2300740 --- tests/selenium/wdio.conf.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index 960bd414..ca114dc6 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -14,6 +14,13 @@ exports.config = { // Use in a test as `browser.options.`. // Defaults are for convenience with MediaWiki-Vagrant + // ================== + // Runner Configuration + // ================== + runner: 'local', + // The standalone chromedriver uses "/wd/hub". + path: '/wd/hub', + // Wiki admin mwUser: process.env.MEDIAWIKI_USER || 'Admin', mwPwd: process.env.MEDIAWIKI_PASSWORD || 'vagrant',