This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7548d3fe-9ba6-4bd3-8df1-60c01ebf6529 XWIKI-23960 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2be8406c-2744-4fb3-8b75-a83306fe3581 Ilie Andriuta created this issue on 29/Jan/26 15:29
 
Summary: Add automated test for "Copy a page by preserving children"
Issue Type: cid:jira-generated-image-avatar-7548d3fe-9ba6-4bd3-8df1-60c01ebf6529 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 29/Jan/26 15:29
Priority: cid:jira-generated-image-static-major-b1d07f67-1f55-4f69-bdb3-11d29826ca0d Major
Reporter: Ilie Andriuta
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

 

 
 

1 update

 
cid:jira-generated-image-avatar-2be8406c-2744-4fb3-8b75-a83306fe3581 Changes by Ilie Andriuta on 29/Jan/26 15:29
 
Labels: testneeded