<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 15, 2013 at 3:14 AM, S Page <span dir="ltr"><<a href="mailto:spage@wikimedia.org" target="_blank">spage@wikimedia.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div><div><div><div><div><div>"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.<br>


<br></div>I think one order of diving in to browser tests is:<br><br></div>* go look at test results on cloudbees<br></div>* investigate a test that's failing<br></div>* view the code for that test<br></div><div>* if you manually go through the test's steps on a wiki site and it fails for you, then file a bug<br>


</div><div><br></div><div>(This doesn't require any local code at all, it's all on the web.) Next level:<br></div><div><br></div><div>* get the test code on your machine<br></div>* run cucumber locally, pointing to some MediaWiki install<br>


</div>* see if the code fails for you<br></div>* if it does, try fixing the test, and rerun cucumber<br><br></div>* if you find an error in a test, either update a bug<br>* or better yet contribute it in gerrit<br><div><div>


<div><div><div><div><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">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.<br>


<br></div><div class="gmail_extra">Hope this helps. "There's more than one way to do it."</div></div></div></div></div></div></div></div></div></div></blockquote></div><br>S,</div><div class="gmail_extra"><br>

</div><div class="gmail_extra">it would be great if you would document this at <a href="http://mediawiki.org">mediawiki.org</a>.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Željko</div></div>