[QA] all browser tests failing locally for me

Ryan Kaldari rkaldari at wikimedia.org
Wed May 21 17:47:52 UTC 2014


I found the culprit:
https://gerrit.wikimedia.org/r/#/c/133470/7/tests/browser/features/support/pages/article_page.rb

Ryan Kaldari


On Tue, May 20, 2014 at 6:10 PM, Chris McMahon <
christopher.mcmahon at gmail.com> wrote:

>
>
>
>
> On Tue, May 20, 2014 at 5:50 PM, Ryan Kaldari <rkaldari at wikimedia.org>wrote:
>
>> Yeah, that's still the same. Haven't changed it:
>> export MEDIAWIKI_URL=http://core.local/index.php/
>>
>> I run both the desktop and mobile versions from the same URL though. It
>> uses a cookie to remember which one I was using.
>>
>
> OK.  I know that we have this in place:
> https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/tests/browser/features/support/env.rb
>
> But has something stopped calling set_cookie now?
>
> -Chris
>
>
>
>> Since cookies aren't persistent through browser tests, I honestly have no
>> idea how it was always testing against the mobile version before, but it
>> used to work fine.
>>
>> Ryan
>>
>>
>> On Tue, May 20, 2014 at 5:46 PM, Chris McMahon <
>> christopher.mcmahon at gmail.com> wrote:
>>
>>>
>>> The target wiki should be controlled by the local environment variable
>>> MEDIAWIKI_URL e.g.
>>>
>>> $ export MEDIAWIKI_URL=http://en.m.wikipedia.beta.wmflabs.org/wiki/
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tue, May 20, 2014 at 5:34 PM, Arthur Richards <
>>> arichards at wikimedia.org> wrote:
>>>
>>>> +qa
>>>> On May 20, 2014 5:28 PM, "Ryan Kaldari" <rkaldari at wikimedia.org> wrote:
>>>>
>>>>> When I tried to review Jon's latest browser test changes today I
>>>>> noticed that all of my tests are failing. It looks like the tests are all
>>>>> trying to run on the desktop site rather than the mobile site now. I
>>>>> haven't changed anything about my local environment lately, so I imagine
>>>>> this must be related to some change that was made to how our tests are run.
>>>>> I didn't see anything obvious in gerrit, so if anyone has any idea what
>>>>> might have caused this, please let me know. I've tried running them in
>>>>> Firefox and Chrome with the same results.
>>>>>
>>>>> Ryan Kaldari
>>>>>
>>>>
>>>> _______________________________________________
>>>> QA mailing list
>>>> QA at lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/qa
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140521/6bae1b54/attachment.html>


More information about the QA mailing list