Branch: refs/heads/misc-faster-set-property-in-xwiki-preferences Home: https://github.com/xwiki/xwiki-platform Commit: 9ac8f485349ff2ad4a959e1a9da188c2ab9b1a25 https://github.com/xwiki/xwiki-platform/commit/9ac8f485349ff2ad4a959e1a9da18... 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 * 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