"Running and writing browser tests" is a small maze of outdated instructions, a transcluded page, a redirect, and some confusion over running tests locally vs. running MediaWiki locally and/or in vagrant.
I think one order of diving in to browser tests is: * go look at test results on cloudbees * investigate a test that's failing * view the code for that test * if you manually go through the test's steps on a wiki site and it fails for you, then file a bug (This doesn't require any local code at all, it's all on the web.) Next level: * get the test code on your machine * run cucumber locally, pointing to some MediaWiki install * see if the code fails for you * if it does, try fixing the test, and rerun cucumber * if you find an error in a test, either update a bug * or better yet contribute it in gerrit None of these steps require you to have a working local MediaWiki. The recent edit (from Jeff Hall ? Hi!) suggests enabling the visualeditor role in MediaWiki-Vagrant to run the VE tests, which works but may be overkill. Hope this helps. "There's more than one way to do it." On Fri, Nov 8, 2013 at 7:06 AM, Chris McMahon <[email protected]>wrote: > > Hello QAers... > > Next week I intend to spend some time updating the pages at > http://www.mediawiki.org/wiki/Quality_assurance > > They were a good description at the time, but our role has changed > somewhat and they are a little out of date. In particular, I want to add > > * a detailed description of the test environments at > http://en.wikipedia.beta.wmflabs.org and http://test2.wikipedia.org > * links to other WMF development projects we work with, like VisualEditor, > UniversalLanguageSelector, UploadWizard, Flow, etc. etc. > * a description of the automated test architecture shared among these > projects > > If you are new to the list, what questions would you like answered in the > QA documentation? > > Thanks, > -Chris (WMF QA Lead) > -- =S Page Features engineer
_______________________________________________ QA mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/qa
