This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-bba9593b-3f8b-4051-bdb6-1f31fa316218 XWIKI-25108 Open

Add automated test for "Move only parent"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f0efc5e3-0e43-4941-ab6f-bb444cd79d2d Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Move only parent"
Issue Type: cid:jira-generated-image-avatar-bba9593b-3f8b-4051-bdb6-1f31fa316218 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-95c527ca-4f48-4405-bf76-0fbee9eee49c Major
Reporter: Vincent Massol
Description:

The manual test is here: Move only parent

Existing automated coverage

Missing automated coverage

  • Create 1/2/3/4 and A/B with every page existing
  • On page 2 open More Actions > Move / Rename, select B in the New Location tree and uncheck "Preserve children" (RenamePage#setPreserveChildren(false)), click Rename
  • Assert A/B/2 exists
  • Assert 1/2/3 and 1/2/3/4 still exist and are reachable at their old URLs

Suggested location: 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/RenamePageIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).