<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 4:33 AM, Željko Filipin <span dir="ltr"><<a href="mailto:zfilipin@wikimedia.org" target="_blank">zfilipin@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 dir="ltr"><div class="gmail_extra"><div class="im"><div class="gmail_quote">
On Fri, Jan 17, 2014 at 3:02 AM, Chris Steipp <span dir="ltr"><<a href="mailto:csteipp@wikimedia.org" target="_blank">csteipp@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">At the moment, I've cloned into another repo and I'm just fixing the tests to work for a tarball install, but is there a proper way to extend those tests so that we don't need an entire new repo for VE vs. non-VE tests? I see several places that load a different page object for ie6/phantomjs, is that a good design pattern that I should copy?</blockquote>


</div><br></div>It is hard to give a good answer without looking at the code at the same time. I would highly suggest that you pair with somebody familiar with Selenium and Ruby, at least in beginning. Ping me off list if you would like to pair with me.</div>
<div class="gmail_extra"><br></div></div></blockquote><div><br></div><div>So as I noted above, I did some research into what browser tests for a bare wiki would look like.  I looked at both a fresh Mediawiki installation on a local machine, and also at a vagrant instance with only the Mediawiki role enabled.  </div>
<div><br></div><div>What I discovered is that our existing tests are just not useful here.  Wikipedia wikis are radically different than bare Mediawiki.  So I would suggest doing a few things: </div><div><br></div><div>* Make a repo of tests somewhere whose sole target is a bare wiki, just like we have browser tests in ~10 other extension repos whose target is extension features. </div>
<div>* Create a suite of shallow tests for a bare Mediawiki install with no data.  I made a bug for that here: <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=60347">https://bugzilla.wikimedia.org/show_bug.cgi?id=60347</a> .  (This would be a great intern/volunteer project I think). </div>
<div>* Real Soon Now we will have the ability to create test data at run time via the Mediawiki API.  Jeff has a good start on this, and we are pairing face-to-face tomorrow to take that as far as we can in a day.  We expect this to be generally available fairly soon. <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=58939">https://bugzilla.wikimedia.org/show_bug.cgi?id=58939</a></div>
<div><br></div><div>-C </div><div><br></div></div><br></div></div>