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

Add automated test for "Partial XAR export"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Partial XAR Export.

      The test verifies that a partial XAR export (a modified page) works properly (by checking the exported files from the XAR.

      Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1709824676816OvyLo:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=helsinki-systems.de

      Thomas@tmortagne:matrix.xwiki.com:
      Ilie Andriuta: Hi! Continuing the manual tests migration, there is a test about checking if a partial XAR export (a modified page) works properly: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Partial%20XAR%20export. I've checked https://github.com/xwiki/xwiki-platform/blob/3047fecf6d7465bb9f0739d9af15b688f70f49cf/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/XARExportIT.java#L46 but I'm not sure if the corresponding automated test exists (i.e. checking the exported files from the XAR). Can you please confirm?

      Thanks!

       

      This XARExportIT looks more like a validation of the export modal, it does not seems to actually be testing the result of an exported XAR file.

      Ilie Andriuta: but does some automated test exist in other location, maybe (that checks the exported files from the XAR)?

      Thomas@tmortagne:matrix.xwiki.com: I don't find any.

      Ilie Andriuta: Thanks, Thomas (@tmortagne:matrix.xwiki.com) for looking into it! I will create a task for it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: