This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-367d6205-ff6d-48da-8666-02292cc74dbf XWIKI-25129 Open

Add automated test for "Enable and disable user account"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-57b2a291-3767-4ac8-9a5e-9f5dfeb9210b Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Enable and disable user account"
Issue Type: cid:jira-generated-image-avatar-367d6205-ff6d-48da-8666-02292cc74dbf 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-0248d136-716e-425b-bc82-8199112d90b9 Major
Reporter: Vincent Massol
Description:

The manual test is here: Enable and disable user account

Existing automated coverage

Missing automated coverage

  • Disable a user from its profile, log in as that user through the UI
  • Open an application from the Applications panel, then Page Index, User Index and Application Index from the drawer, and assert each shows the notice 'Your account has been disabled. Please contact the administrator if you think this is a mistake.' (key accountdisabled, template userinactive.vm) instead of the content
  • As admin enable the account again, log in as the user and assert the same pages are displayed and a page the user may edit can be edited and saved

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