Zfilipin has uploaded a new change for review. https://gerrit.wikimedia.org/r/54005
Change subject: A few improvements to the readme file ...................................................................... A few improvements to the readme file Change-Id: I3fa99c643da9c42f6e1997c40e86b82e71fa6c5f --- M README.md 1 file changed, 7 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests refs/changes/05/54005/1 diff --git a/README.md b/README.md index 03c6977..59dceae 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,32 @@ ## Environment -To run the Selenium tests you will have to install Ruby (look at .rvmrc for the exact version), the latest versions of RubyGems, and Firefox (the default browser in which the tests run). The easiest way to install Ruby on Linux/Unix is RVM (https://rvm.io/) and on Windows RubyInstaller (http://rubyinstaller.org/). +To run the Selenium tests you will have to install Ruby (look at `.rvmrc` file for the exact version), the latest versions of RubyGems and Firefox (the default browser in which the tests run). The easiest way to install Ruby on Linux/Unix is [RVM](https://rvm.io/) and on Windows [RubyInstaller](http://rubyinstaller.org/). Update RubyGems and install the required RubyGems: + cd browsertests gem update --system gem install bundler bundle install -You will need a file with credentials located at `/private/wmf/secret.yml`. For local testing, create a user named "Selenium user" on your local wiki and record the password in this file as +You will need a file with credentials located at `/private/wmf/secret.yml`. For local testing, create a user named `Selenium_user` on your local wiki and record the password in this file as mediawiki_password: password here Run the tests with `bundle exec rake`, this should start Firefox. -The test run creates an HTML report in reports/ and an XML report (for Jenkins) in reports/junit. +The test run creates an HTML report in `reports/` and an XML report (for Jenkins) in `reports/junit`. To run a single test enter `bundle exec cucumber features/FEATURE_NAME.feature`. ## Sites -The code repository is https://gerrit.wikimedia.org/r/gitweb?p=qa/browsertests.git , the GitHub mirror is at https://github.com/wikimedia/qa-browsertests - -Mobile tests are in the `tests/acceptance` folder of the [MobileFrontend](https://github.com/wikimedia/mediawiki-extensions-MobileFrontend) extension. +The code repository is https://gerrit.wikimedia.org/r/#/admin/projects/qa/browsertests, the GitHub mirror is at https://github.com/wikimedia/qa-browsertests The Jenkins instance that orchestrates the tests is hosted at https://wmf.ci.cloudbees.com/ The tests are run in multiple browsers at http://saucelabs.com/ +Mobile tests are in the `tests/acceptance` folder of the [MobileFrontend](https://github.com/wikimedia/mediawiki-extensions-MobileFrontend) extension. + [](https://codeclimate.com/github/wikimedia/qa-browsertests) -- To view, visit https://gerrit.wikimedia.org/r/54005 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3fa99c643da9c42f6e1997c40e86b82e71fa6c5f Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Zfilipin <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
