[xwiki/xwiki-platform] 1081aa: XWIKI-24821: SolrSearchIT.searchExclusions is flic...
Branch: refs/heads/XWIKI-24821-master Home: https://github.com/xwiki/xwiki-platform Commit: 1081aa45576bfb43c23c3faebb6fba641e68a204 https://github.com/xwiki/xwiki-platform/commit/1081aa45576bfb43c23c3faebb6fb... Author: Vincent Massol <[email protected]> Date: 2026-09-22 (Tue, 22 Sep 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: ----------- XWIKI-24821: SolrSearchIT.searchExclusions is flickering * Hide the suggestions in SuggestInputElement#hideSuggestions() by removing the focus from the text input rather than by pressing Escape. The widget opens the suggestions again on its own whenever a suggestion request completes while the input still has the focus, so Escape left the panel free to re-appear right after it was closed: either while the test was still waiting for it to go away, or once the test had moved on and the panel then covered the button it wanted to click. An unfocused widget closes the panel and ignores the responses that come back afterwards. * Make waitForSuggestionsClearance() look at the widget container's own class, which is where the dropdown-active class is set. The CSS selector it used could only ever match a descendant of the container, so the wait returned immediately whatever the state of the panel. 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