Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
11.10.13
-
Unknown
-
Description
The manual test is here: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Export%20Whole%20Wiki
The test verifies if the export and import of a wiki from Administration is working properly.
Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$165596708938yFUPy: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 the export and import of a wiki from Administration is working properly: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Export%20Whole%20Wiki
I've checked 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 and https://github.com/xwiki/xwiki-platform/blob/73b07f8352d1716b9945b577d6e4a3334f058a77/xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/ExportActionTest.java but couldn't find automated tests for it (the tests found don't cover the XAR export of an entire wiki from Administration).
Can you please confirm whether the automated test exists for it or not and maybe providing the link to it?
Thanks!Thomas@tmortagne:matrix.xwiki.com: "working properly" can mean many things, we probably have at least one export test from admin but there is many things you can test (select/unselect some pages, etc.)
there does not seems to be any export test in xwiki-platform-administration-test-docker (which would be the most logical place for that) at least, checking flavor tests
Thomas@tmortagne:matrix.xwiki.com: there does not seems to be any export test in xwiki-platform-administration-test-docker (which would be the most logical place for that) at least, checking flavor tests
nothing there either, if one exist it's in a location that does not make any kind of sense
Ilie Andriuta: for selective export/import there is https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Export%20and%20Import%20Partial%20Wikiok, thanks, Thomas!
I will create a task for it (which may be closed if a test is found afterwards)