<div dir="ltr">I would like to work on this if no one else has already begun</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 8:00 PM, Chris McMahon <span dir="ltr"><<a href="mailto:cmcmahon@wikimedia.org" target="_blank">cmcmahon@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">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><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></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" target="_blank">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" target="_blank">https://bugzilla.wikimedia.org/show_bug.cgi?id=58939</a></div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-C </div><div><br></div></font></span></div><br></div></div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div>