added a new UITest configuration, named servletEngineNetworkAliases to allow to map the servlet engine running XWiki to multiple domains (networks)
added a helper MultiUserTestUtils that can be injected in test methods to:
create new browser tabs and associate them with a given XWiki alias (you can log in different users in each of these tabs)
switch between the created tabs, taking care of restoring the proper form token and base URL
close the created tabs (except the first one)
access the handle of the first (main) tab
It's definitely not the best / cleanest solution, and naming can be improved, but it allowed me to test realtime with multiple logged-in users. Of course, I'm using a single browser instance, so I won't catch problems with synchronization between Firefox and Chrome for instance, but it's a step forward. Let me know if there are small improvements I can make. For sure I won't have time to work on the multi-browser solution anytime soon .
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.