This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-d18104ca-bd24-4193-ae0b-5ed872bb4d18 XWIKI-25131 Open

Add automated test for "Add And Delete Users To A Wiki"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bbb25527-e31e-483f-827b-397bbd50dc8b Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Add And Delete Users To A Wiki"
Issue Type: cid:jira-generated-image-avatar-d18104ca-bd24-4193-ae0b-5ed872bb4d18 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-a9238e37-aacc-4768-8851-43a27bcc8b36 Major
Reporter: Vincent Massol
Description:

The manual test is here: Add And Delete Users To A Wiki

Existing automated coverage

None found.
Searched all tests and page objects for WikiManager.WikiUsers, 'Current Members', 'Add or invite users to wiki' and their translation keys; only WikiUserManagerScriptServiceTest unit-tests the addMember/removeMember script API with mocks.

Missing automated coverage

  • Create a subwiki and a global user on the main wiki
  • On the subwiki go to Administer Wiki > Users & Rights > Users, pick the user in 'Add or invite users to wiki', click Add and assert it appears in Current Members
  • Click Remove for that user and assert it's no longer listed in Current Members
  • Add a page object for the WikiManager.WikiUsers administration section

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).