[QA] browser tests race condition with login/logout

Chris McMahon cmcmahon at wikimedia.org
Tue Jul 1 17:32:05 UTC 2014


Ah, I think I see.  The automated tests do not log out explicitly (with I
think one exception in one Mobile test), they simply close the browser
while still logged in.


On Tue, Jul 1, 2014 at 10:27 AM, Chris McMahon <cmcmahon at wikimedia.org>
wrote:

>
> Weird, the last comment on that bug is from 2013.  Something is fishy.
> -C
>
>
> On Tue, Jul 1, 2014 at 10:24 AM, Jon Robson <jrobson at wikimedia.org> wrote:
>
>> > I guess whenever we logout, all that username sessions are invalidated
>> > on the server side.
>>
>> That is correct and apparently by design. [1]
>>
>> >
>> > The fix would be to use different username probably. Or have the per
>> > user session invalidation to only invalidate the given session id and
>> > not per username (havent looked at mediawiki core code).
>> I think this would make sense. Is it possible to do this easily? e.g.
>> have users such as selenium-mobile etc
>>
>> [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=49890
>>
>> _______________________________________________
>> 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/20140701/5926f5e0/attachment-0001.html>


More information about the QA mailing list