[xwiki/xwiki-platform] b93bcb: XWIKI-25106: Add automated test for "Export Import...
Branch: refs/heads/XWIKI-25106-automated-test Home: https://github.com/xwiki/xwiki-platform Commit: b93bcb58647ae91721a5d2305e191998715cfba6 https://github.com/xwiki/xwiki-platform/commit/b93bcb58647ae91721a5d2305e191... Author: Vincent Massol <[email protected]> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/XARImportIT.java A xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/ExportAdministrationSectionPage.java M xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/ImportAdministrationSectionPage.java M xwiki-platform-core/xwiki-platform-tree/xwiki-platform-tree-test/xwiki-platform-tree-test-pageobjects/src/main/java/org/xwiki/tree/test/po/TreeElement.java Log Message: ----------- XWIKI-25106: Add automated test for "Export Import a document with defined permissions" * Add XARImportIT#exportImportPageWithRights (XWIKI-25106): a nested page whose view right is restricted to XWikiAdminGroup is exported as XAR and imported in a subwiki; the XWikiRights object is imported and a global user is still denied view there * Add XARImportIT#exportImportPageWithHistory (XWIKI-25107): a page with 4 versions is exported with its history and imported in a subwiki replacing the history; the subwiki page has the same versions, version comments and content * Add XARImportIT#exportImportPartialWiki (XWIKI-18641): from the Export administration section, select "Created pages", unselect all children of the XWiki node, choose the target version and export; in a subwiki, check the none/all selection links, then import only the test's own pages * Add ExportAdministrationSectionPage and ImportAdministrationSectionPage#selectNoDocuments/#selectAllDocuments * Fix TreeElement#getNodeIDs(), which failed with a ClassCastException (WebDriver returns a List, not an array) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications