[xwiki/xwiki-platform] ea23f6: [Misc] Set the XWiki.XWikiPreferences properties o...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: ea23f6795a413b92648170b40d43755e6128de68 https://github.com/xwiki/xwiki-platform/commit/ea23f6795a413b92648170b40d437... Author: Vincent Massol <[email protected]> Date: 2026-08-31 (Mon, 31 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java Log Message: ----------- [Misc] Set the XWiki.XWikiPreferences properties over REST in the test framework (#6266) * TestUtils.setPropertyInXWikiPreferences() loads the object editor of XWiki.XWikiPreferences in the browser only to find out whether the XWiki.XWikiPreferences object exists, then performs a second browser navigation to save the property. Delegate to the existing REST-based setWikiPreference() instead, which answers both with REST calls and no page load at all. * Makes TestUtils.setHierarchyMode() about 9 times faster once the property is in the class (2086ms -> 224ms, measured on BreadcrumbsIT), and speeds up every functional test that changes a wiki configuration. Co-authored-by: Claude Opus 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