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

Add automated test for "Restore a deleted page"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Restore a deleted page

      Existing automated coverage

      Missing automated coverage

      • Create a nested page (A.WebHome) and a terminal page (A.B), delete both
      • Open Page Index > Deleted Pages and click 'Restore' in the Actions column for each page (no page exists at that location, so no replace modal)
      • Assert each page exists again at its original reference with its original content, and is no longer listed in the Deleted Pages tab
      • Add a DeletedDocsPage#restoreDoc(docName) page-object method

      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 XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: