Add block and unblock commands to WDIO
authorThomas Arrow <thomas.arrow_ext@wikimedia.de>
Fri, 11 Jan 2019 17:36:12 +0000 (17:36 +0000)
committerThomas Arrow <thomas.arrow_ext@wikimedia.de>
Tue, 22 Jan 2019 14:58:57 +0000 (14:58 +0000)
commita881c1675f91cb58158b00947df7eb81b8ca3bd2
treef31f8483416c27c2899cba6570996c3c120fd532
parent69892e932e012ab3a80e90072a33c26ef7e6e052
Add block and unblock commands to WDIO

Defaults to expiry time of never to mirror API default

This leaves it up to individual test suite to assert that the user
they use is in the right blocked/unblocked state

Bug: T211038
Change-Id: Icf94458eb9c9a1fa25e5ef9291d9fc2c54a5567c
tests/selenium/wdio-mediawiki/Api.js