Zfilipin has uploaded a new change for review. https://gerrit.wikimedia.org/r/153405
Change subject: Update README.md to mention MEDIAWIKI_API_URL ...................................................................... Update README.md to mention MEDIAWIKI_API_URL Change-Id: I6a578d3e327ae3829710e0b9cdb6568cc671f9be --- M README.md 1 file changed, 8 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium refs/changes/05/153405/1 diff --git a/README.md b/README.md index 26bfaaf..a67d558 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,19 @@ Run the tests with `bundle exec cucumber`, this should start Firefox. By default the tests run at en.wikipedia.beta.wmflabs.org. If you want to run -the tests elsewhere, set the `MEDIAWIKI_URL` environment variable. For example: +the tests on another web server, set the `MEDIAWIKI_URL` environment variable. For example: export MEDIAWIKI_URL=http://commons.wikimedia.beta.wmflabs.org/wiki/ # Linux/Unix/Mac set MEDIAWIKI_URL=http://commons.wikimedia.beta.wmflabs.org/wiki/ # Windows Command Prompt $env:MEDIAWIKI_URL="http://commons.wikimedia.beta.wmflabs.org/wiki/" # Windows PowerShell +Some tests use the [MediaWiki web API](https://www.mediawiki.org/wiki/API:Main_page) +to interact with the web server in addition to driving a browser. +If you want these tests to run on another web server, +you must also set the `MEDIAWIKI_API_URL` environment variable. For example: + + export MEDIAWIKI_URL=http://commons.wikimedia.beta.wmflabs.org/w/api.php # Linux/Unix/Mac + To run a single test file: bundle exec cucumber features/FEATURE_NAME.feature -- To view, visit https://gerrit.wikimedia.org/r/153405 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6a578d3e327ae3829710e0b9cdb6568cc671f9be Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/selenium Gerrit-Branch: master Gerrit-Owner: Zfilipin <zfili...@wikimedia.org> Gerrit-Reviewer: Spage <sp...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits