This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-d22a733e-5b8e-4022-b739-99e2883062c0 XWIKI-25151 Open

Add automated test for "Page Index Deleted Attachments"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7c6d4030-9fdd-4d07-989c-adba6c05ed66 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Page Index Deleted Attachments"
Issue Type: cid:jira-generated-image-avatar-d22a733e-5b8e-4022-b739-99e2883062c0 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-c4c352b9-b8a7-41b4-a26b-b563bfcde103 Major
Reporter: Vincent Massol
Description:

The manual test is here: Page Index Deleted Attachments

Existing automated coverage

Missing automated coverage

  • Delete attachments from both a nested (WebHome) page and a terminal page; assert all are listed in the Deleted Attachments table
  • Sort by each sortable column (name, location, date, deleter) and assert the row order
  • Filter by location and by deleter and assert the rows
  • Click the red X (permanent delete) action for one attachment, confirm 'Yes', and assert its row disappears while the others remain
  • Add a page-object method on DeletedAttachmentsPage for the permanent delete action

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

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