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
This commit is contained in:
Adam Wight 2020-11-06 11:15:51 +01:00
parent 2dc2631beb
commit 09ed1f05fe

View file

@ -14,6 +14,13 @@ exports.config = {
// Use in a test as `browser.options.<key>`. // Use in a test as `browser.options.<key>`.
// Defaults are for convenience with MediaWiki-Vagrant // Defaults are for convenience with MediaWiki-Vagrant
// ==================
// Runner Configuration
// ==================
runner: 'local',
// The standalone chromedriver uses "/wd/hub".
path: '/wd/hub',
// Wiki admin // Wiki admin
mwUser: process.env.MEDIAWIKI_USER || 'Admin', mwUser: process.env.MEDIAWIKI_USER || 'Admin',
mwPwd: process.env.MEDIAWIKI_PASSWORD || 'vagrant', mwPwd: process.env.MEDIAWIKI_PASSWORD || 'vagrant',