This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-dc6825a8-d985-435e-aae0-1d58c20271dc XWIKI-25126 Open

Add automated test for "Migrate XWiki using Distribution Wizard"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-28467a0b-a36f-406f-9b59-e8423ca7f81e Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Migrate XWiki using Distribution Wizard"
Issue Type: cid:jira-generated-image-avatar-dc6825a8-d985-435e-aae0-1d58c20271dc Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-4f61bf62-ef73-4eda-9fad-55c93dc2baa3 Major
Reporter: Vincent Massol
Description:

The manual test is here: Migrate XWiki using Distribution Wizard

Existing automated coverage

Missing automated coverage

  • In an upgrade data set with a subwiki: assert nested and terminal pages with content and comments exist after migration on main wiki and subwiki.
  • Assert untyped cross-wiki links (to subwiki:PageNS.WebHome from the main wiki, to xwiki:PageN.PageT from the subwiki) still point to existing pages.
  • Assert Page Index > Deleted Pages and Deleted Attachments list the deleted entries on both wikis and that they can be opened.
  • Assert the attachments LiveData pagination (next/previous) works on a migrated page.
  • Assert an installed application (e.g. an AWM app) still lists its entries on both wikis.
  • Assert the User Index shows Admin and global users on the main wiki, and local plus member global users on the subwiki.
  • Assert a user's notifications (events and read status) and notification filter preferences are preserved.
  • Assert something after "Check for updates" in UpgradeTest#extensionsStep (currently a TODO).
  • Large (200 MB) and Office attachments can stay manual (impractical in CI).

Suggested location: xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/xwiki-platform-distribution-flavor-test-upgrade (a version-specific upgrade test overriding postUpdateValidate(), plus its data set)

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