[QA] Running WMF browser tests on a wide variety of platforms

Jeff Hall jhall at wikimedia.org
Tue Feb 18 21:49:31 UTC 2014


As mentioned in a couple of meetings this morning, the QA team recently 
did some re-factoring of the mediawiki-selenium Rubygem[1] to allow WMF 
browser tests to run via any of the operating system and browser 
combinations that are supported on the Sauce Labs platform[2].

While this change was made primarily to expand the scope of regression 
tests run via CloudBees, you can take advantage of the same change to 
run browser tests locally, assuming two things:

 1. You have Sauce Labs credentials (free accounts are available; see[3]).
 2. The repo for which you want to run browser tests has been updated to
    use version 0.2.6 of the mediawiki-selenium gem.


If point #2 is not true for the repo you are working with, the necessary 
update is easily made - ask for help via IRC using the /#wikimedia-qa 
/channel if needed.

Documentation on setting up your local environment for running browser 
tests in this way is available on mediawiki.org[4].

Happy testing!

- Jeff



[1] http://rubygems.org/gems/mediawiki_selenium
[2] https://saucelabs.com/platforms
[3] https://saucelabs.com/signup
[4] 
https://www.mediawiki.org/wiki/Quality_Assurance/Browser_testing/Running_tests#Running_browser_tests_at_SauceLabs


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140218/f82e6211/attachment.html>


More information about the QA mailing list