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

Chris Steipp csteipp at wikimedia.org
Thu Jul 17 22:08:50 UTC 2014


When we use central auth to login to different wikis, I've been
setting another environment variables for each (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



More information about the QA mailing list