selenium: Clean up wdio.conf.js
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 14 Apr 2018 00:24:35 +0000 (01:24 +0100)
committerKrinkle <krinklemail@gmail.com>
Thu, 26 Apr 2018 15:53:46 +0000 (15:53 +0000)
commitecd1f1bc9024d8e4e9668d1d454c5a1361d20694
treec91be55a46a17a1fccc105307e548ae068c9a6c7
parentb1b0070dc7557311cc38e7cc99e4231ac4b92940
selenium: Clean up wdio.conf.js

* Remove redundant user/pass for Jenkins, which is unused now
  that Jenkins jobs set it through ENV instead.
  See also T188520 and Ibb388741fee9 (integration/config).

* Use simple default operator (||) instead of elaborate
  undefined check.

* Document that the inline user/password defaults relate to
  MediaWiki vagrant.

* Set 'logPath' for Jenkins based on LOG_PATH env (from mw-set-env.sh),
  instead of assuming where it will be relative to mediawiki-core.

* Put new lines between blocks and functions.

* Document --no-sandbox hack from 4ff5652501b6cd.

Change-Id: I4c7856d260ded8c94e991a27863b80c9eea2e33e
tests/selenium/wdio.conf.js