From: Lucas Werkmeister Date: Tue, 17 Sep 2019 16:03:38 +0000 (+0200) Subject: wdio-mediawiki: update signatures in README.md X-Git-Tag: 1.34.0-rc.0~181 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=9d5c69dd773a523b62cc86c071afd3d070519607;p=lhc%2Fweb%2Fwiklou.git wdio-mediawiki: update signatures in README.md Add parameter types everywhere, and mark the parameters of blockUser and unblockUser as optional. Change-Id: I4713fed9f073801333796d974fff9d2d7059d1f0 --- diff --git a/tests/selenium/wdio-mediawiki/README.md b/tests/selenium/wdio-mediawiki/README.md index dc16e816d2..357fbd96a8 100644 --- a/tests/selenium/wdio-mediawiki/README.md +++ b/tests/selenium/wdio-mediawiki/README.md @@ -22,11 +22,11 @@ Utilities to interact with the MediaWiki API. Uses the [mwbot](https://github.co Actions are performed logged-in using `browser.options.username` and `browser.options.password`, which typically come from `MEDIAWIKI_USER` and `MEDIAWIKI_PASSWORD` environment variables. -* `edit(title, content [, string username [, string password [, string baseUrl ] ] ])` -* `delete(title, reason)` -* `createAccount(username, password)` -* `blockUser(username, expiry)` -* `unblockUser(username)` +* `edit(string title, string content [, string username [, string password [, string baseUrl ] ] ])` +* `delete(string title, string reason)` +* `createAccount(string username, string password)` +* `blockUser([ string username [, string expiry ] ])` +* `unblockUser([ string username ])` ### RunJobs