wdio-mediawiki: Rename internal "Front page" ref to "Main page"
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 25 Jan 2019 19:08:01 +0000 (11:08 -0800)
committerJforrester <jforrester@wikimedia.org>
Sat, 9 Feb 2019 23:09:57 +0000 (23:09 +0000)
commitb0102bcc98c35184f5c3d6f1260a4837f2dab7e2
tree4b932b08ac08e767080eb40894ecd9deb3ed3388
parenta1e51bf94325130fa3d54d65c071d3ab57a4ab79
wdio-mediawiki: Rename internal "Front page" ref to "Main page"

Also remove redundant 'new Promise' indirection, in favour
of native chaining through "then()".

This avoids a situation where wdio could hang indefinitely (until
timeout) when MWBot.request fails because we did not attach any
"catch()" handler to the promise. By always keeping a chain, the
failures are (by default) forwarded and thus propagated and thus
caught eventually.

Change-Id: If2f09479600029db2fa967c57082031744a06d8f
tests/selenium/wdio-mediawiki/RunJobs.js