This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-89de80e2-bbcb-4b15-a372-11cb3a05a72e XWIKI-25133 Open

Add automated test for "Login on Main Wiki with Local User From Subwiki"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c4332b2a-a251-43cb-96ca-92709b235b13 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Login on Main Wiki with Local User From Subwiki"
Issue Type: cid:jira-generated-image-avatar-89de80e2-bbcb-4b15-a372-11cb3a05a72e Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-501f1446-e49f-4602-a2c1-6b0c3739d463 Major
Reporter: Vincent Massol
Description:

The manual test is here: Login on Main Wiki with Local User From Subwiki

Existing automated coverage

None found.
Searched the wiki, authentication and administration test modules and XWikiAuthServiceImplTest (it only covers global users and wiki-prefixed usernames) for a subwiki-local user logging in on the main wiki.

Missing automated coverage

  • Create a subwiki and a user local to it
  • On the main wiki open the login form, submit the local user's username and password
  • Assert the login is refused (error message displayed, still guest)

Suggested location: xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-test/xwiki-platform-wiki-test-docker/src/test/it/org/xwiki/wiki/test/ui/SubWikiIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).