[xwiki/xwiki-platform] 403c7c: [Misc] Fix flickering PageTemplatesIT#createTempla...
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 403c7caf164528f6d857605ca341c3ca0f8df6a7 https://github.com/xwiki/xwiki-platform/commit/403c7caf164528f6d857605ca341c... Author: Vincent Massol <[email protected]> Date: 2026-07-05 (Sun, 05 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/SuggestInputElement.java Log Message: ----------- [Misc] Fix flickering PageTemplatesIT#createTemplateProviderWithIconAndRestrictions Clearing the selected suggestions iterated over a pre-fetched list of suggestion elements and deleted them one by one. Deleting a suggestion re-renders the Selectize widget, which invalidates the element references of the remaining selected suggestions, so the second deletion threw a StaleElementReferenceException. Re-fetch the list after each deletion, always deleting the first selected suggestion, so no stale element reference is reused. Co-authored-by: Claude Opus 4.8 (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