This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-05fef025-41b5-4ae5-87e1-73d9e4e2c990 XWIKI-25130 Open

Add automated test for "User membership in the profile"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0ffcee96-9f07-4937-80db-7c448b309794 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "User membership in the profile"
Issue Type: cid:jira-generated-image-avatar-05fef025-41b5-4ae5-87e1-73d9e4e2c990 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-58b0652a-0fde-402d-9561-eae97da111e7 Major
Reporter: Vincent Massol
Description:

The manual test is here: User membership in the profile

Existing automated coverage

Missing automated coverage

  • Create a global user and add it to 2 groups on the main wiki, one of them member of a parent group
  • Create a subwiki allowing global users and add the user to a group there
  • As admin, from the main wiki, open the user's profile > Groups and assert the direct groups, the parent group and the subwiki group are all listed
  • Log in as the user, open profile > Groups and assert the same list

Suggested location: xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-profile/xwiki-platform-user-profile-test/xwiki-platform-user-profile-test-docker/src/test/it/org/xwiki/user/test/ui/UserProfileIT.java

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