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

Add automated test for "Restore A Page"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Restore A Page

      Existing automated coverage

      Missing automated coverage

      • As a simple user with delete right, create P1 with content and delete it
      • Navigate to P1 and assert "The requested page could not be found.", the Deleter and a Deletion Date (add a DeletedPageEntry getter for the date)
      • Click Restore in the Actions column as that same user and assert P1 is restored with its previous content

      Suggested location: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/RecycleBinIT.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: