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

Add automated test for "Import a XAR into an empty subwiki"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Import%20XAR

      The test verifies if a XAR (containing previously exported wiki pages) is imported properly into an empty subwiki.

      Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1654675036280LZgpw:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=caubin.fr

      Ilie Andriuta: Hi! Continuing the manual tests migration, there is a test about checking if a XAR (containing previously exported wiki pages) is imported properly into an empty subwiki: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Import%20XAR
      I've checked https://github.com/xwiki/xwiki-platform/blob/73b07f8352d1716b9945b577d6e4a3334f058a77/xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/plugin/packaging/ImportTest.java and https://github.com/xwiki/xwiki-platform/blob/73b07f8352d1716b9945b577d6e4a3334f058a77/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-tests/src/test/it/org/xwiki/flamingo/test/ui/XARExportIT.java but I couldn't find automated tests for it.
      Can you please confirm whether the automated test exists for it or not and maybe providing the link to it?

      Thanks!
      Thomas: We do have XAR import tests AFAIK but I don't think we have a XAR import test "into an empty subwiki".
      Ilie Andriuta:  I will create a task for it then, thanks Thomas!

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: