[QA] Testing thanks: How to do a browser test which involves 2 users

Chris McMahon christopher.mcmahon at gmail.com
Thu Jul 17 22:13:57 UTC 2014


On Thu, Jul 17, 2014 at 3:08 PM, Chris Steipp <csteipp at wikimedia.org> wrote:

> When we use central auth to login to different wikis, I've been
> setting another environment variables for each


I like this.

My only request is that you please do not explicitly logout Selenium_user,
as that can affect other test builds that rely on that user being logged
in.

(It might be time to add a few more users to the beta labs and test2wiki
environments)

-Chris



> (in addition to
> MEDIAWIKI_URL). But if anyone has a better suggestion, I'd love to
> hear it too.
>
> On Thu, Jul 17, 2014 at 1:08 PM, Jon Robson <jrobson at wikimedia.org> wrote:
> > Sometimes, a test requires two users. We currently have MEDIAWIKI_USER
> > but do we have another special account to act as another user?
> >
> > I'm trying to write a test for the thanks feature:
> > https://gerrit.wikimedia.org/r/#/c/146628/
> >
> > The step I'm stuck on is "the most recent topic is written by another
> > user", a step which involves creating some content by a user who is
> > not MEDIAWIKI_USER
> >
> > How can I achieve this in a standard way? Are any other projects doing
> > something similar?
> >
> > _______________________________________________
> > QA mailing list
> > QA at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/qa
>
> _______________________________________________
> 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/20140717/b33f8aa9/attachment.html>


More information about the QA mailing list