<div dir="ltr"><br><div><br></div><div>For some time people on the Mobile team working with browser tests (among others) have wanted the ability to run on local development environments, without having to rely on test data and test user accounts that already exist only in the shared test environments at beta labs and test2wiki. </div>
<div><br></div><div>For this reason (and for several other reasons) we have begun creating some convenience methods that will create via the Mediawiki API particular pages and particular users on any target wiki.  The first pass at the code to do this is <a href="https://gerrit.wikimedia.org/r/#/c/106548/">https://gerrit.wikimedia.org/r/#/c/106548/</a> . </div>
<div><br></div><div>Besides supporting the ability to create test data for Mobile development environments, being able to do this will also: </div><div><br></div><div>* reduce conflicts for certain tests that use the same pages and/or users</div>
<div>* support running browser tests on WMF Jenkins instead of Cloudbees</div><div>* support running browser tests on a bare Mediawiki wiki, such as the public release wiki</div><div>* support running browser tests on Vagrant instances with bare wikis</div>
<div>* support testing the Mediawiki API itself</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>