<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 1, 2014 at 6:37 PM, Antoine Musso <span dir="ltr"><<a href="mailto:hashar+wmf@free.fr" target="_blank">hashar+wmf@free.fr</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 id=":we" class="" style="overflow:hidden">The fix would be to use different username probably.</div>
</blockquote><div><br></div><div>The only long term and robust solution that I can think of right now is to create a user via API as a setup step for every scenario that needs logging in.</div><div><br></div><div>That would create a lot of users over time. I guess we do not care about that for purely testing sites (like <a href="http://beta.wmflabs.org">beta.wmflabs.org</a>) but it might be a problem for <a href="http://test2.wikipedia.org">test2.wikipedia.org</a>. We can make it easy to delete such users on a daily/weekly/monthly/yearly bases. (For example, usernames could look like Selenium_user_12345.)</div>
<div><br></div><div>The alternative is to create 10-100-1000(...) users and then use one user for each scenario. </div><div><br></div><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 id=":we" class="" style="overflow:hidden">Or have the per<br>
user session invalidation to only invalidate the given session id and<br>
not per username (havent looked at mediawiki core code).</div></blockquote></div><br>It would be useful if we could enable this for testing sites, so we could reuse one user, like we do now.</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Željko</div></div>