Details
-
Task
-
Resolution: Fixed
-
Major
-
11.10.13
-
Unknown
-
N/A
-
N/A
-
Description
The manual test is here: Permanently delete a page
Existing automated coverage
- DeletedDocsIT#restoreDeletedPages: Steps 1-4: creates a nested (WebHome) and a terminal page, deletes both, opens Page Index > Deleted Pages, filters the table and asserts both pages are listed; then restores them (not a permanent delete)
- DeletePageIT#deleteTerminalAndNonTerminalPages: Permanently deletes a deleted terminal and non-terminal page, but from the recycle bin of the deleted page location (DeletedPageEntry#clickDelete), not from the Page Index, and without asserting the entries are gone
- DefaultModelBridgeTest#permanentlyDeleteDeletedDocument: Unit test of the permanent deletion of a deleted document (backend only)
Missing automated coverage
- Create a nested page (A.WebHome) and a terminal page (A.B) and delete both
- Open Page Index > Deleted Pages, filter on the space, and click the Delete action (.actiondelete) in the Actions column of each page
- Confirm with Yes in the deleteDocumentConfirmModal modal
- Assert both rows disappear from the Deleted Pages table (also after reloading the tab) and that the pages cannot be restored anymore
- Add a DeletedDocsPage#deleteDoc(docName) page-object method for the permanent delete action and its confirmation modal
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/DeletedDocsIT.java
Found by comparing the most-run manual tests (XWiki 16.x-18.x runs) against the automated tests on master (7c8ae46f525).