Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25974

Add automated test for "Permanently delete a page"

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The manual test is here: Permanently delete a page

      Existing automated coverage

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

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: