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

Add automated test for "Copy a page by preserving children"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test if here: Copy a page by preserving children

      Matrix discussion: https://matrix.to/#/!zdPfnFC0pUfwN5kZ4LKP2dXZ2jC266yFWKNeqgmJd4E/$LwZ7H6usaNQRaS4GfeeYgRNdi_Jygu8SxZ7DR71F4QY?via=matrix.xwiki.com&via=matrix.org&via=uni-wuppertal.de

      Ilie Andriuta: Hi! Continuing the manual tests migration, there is a test about checking if copying a page by preserving children with both simple and advanced users works properly: https://test.xwiki.org/xwiki/bin/view/Nested%20Spaces/Copy%20a%20space. I've searched on https://github.com/xwiki/xwiki-platform/blob/fa9fb116d407027a0d43ade09b615f6957865219/xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-test/xwiki-platform-rest-test-tests/src/test/it/org/xwiki/rest/test/PageResourceIT.java, but it seems I didn't find automated tests for copying pages.
      Can you please confirm whether the automated test exists for it or not and maybe providing the link to it?

      Thanks!

      Michael Hamann: We have automated tests for copying pages: https://github.com/xwiki/xwiki-platform/blob/f33e4127c8cfb89c0ef97d922fb7b00e9f34543d/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/CopyPageIT.java#L49 - but there doesn't seem to be anything about preserving children.

      Ilie Andriuta: Thanks for looking into it, Michael Hamann, I will create a task for it

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: