Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
11.10.13
-
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