[xwiki/xwiki-platform] 59c083: [Misc] Wait more for elements in SuggestInputEleme...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 59c08379ec0757b093230e50e404f572973ea17b https://github.com/xwiki/xwiki-platform/commit/59c08379ec0757b093230e50e404f... Author: Michael Hamann <[email protected]> Date: 2025-09-11 (Thu, 11 Sep 2025) 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] Wait more for elements in SuggestInputElement to reduce flickers When selecting a single element, there is no benefit of not waiting when relying on the presence of the selected element. When the test passes and the element is present, this doesn't introduce any delay. Commit: f83bfae84db3888e005d804f65e17e85c8fdfe5e https://github.com/xwiki/xwiki-platform/commit/f83bfae84db3888e005d804f65e17... Author: Michael Hamann <[email protected]> Date: 2025-09-11 (Thu, 11 Sep 2025) Changed paths: M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-docker/src/test/it/org/xwiki/livedata/test/ui/LiveDataIT.java Log Message: ----------- [Misc] Make delete in async action in LiveDataIT non-async While it sounds counter-intuitive, it's important for the delete action to be non-async so the async action can wait for it to complete before refreshing the Live Data. Otherwise, the Live Data might be refreshed before the page has actually been deleted, causing the test to fail. Commit: 5848d0b14fc3bfeab8573fc7a224a11dec280799 https://github.com/xwiki/xwiki-platform/commit/5848d0b14fc3bfeab8573fc7a224a... Author: Michael Hamann <[email protected]> Date: 2025-09-11 (Thu, 11 Sep 2025) Changed paths: M xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/it/org/xwiki/edit/test/ui/InplaceEditIT.java Log Message: ----------- [Misc] Wait for children macro to load in InplaceEditIT Add an explicit wait for the loading of the children macro to fix flickering. As the loading of the content is asynchronous, the content might not be available directly after the refresh of the editor. Commit: ff64dc7dbe54d1f94fa72b300524815678f84f35 https://github.com/xwiki/xwiki-platform/commit/ff64dc7dbe54d1f94fa72b3005248... Author: Michael Hamann <[email protected]> Date: 2025-09-11 (Thu, 11 Sep 2025) Changed paths: M xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-docker/src/test/it/org/xwiki/appwithinminutes/test/ui/UserClassFieldIT.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/SuggestInputElement.java Log Message: ----------- [Misc] Reduce flickering in UserClassFieldIT * Introduce the option to wait for suggestions beyond the option to choose the typed text in SuggestInputElement. * Wait for non-typed suggestions in UserClassFieldIT before pressing the enter key. Commit: 99b086b4dbd0bdc5f8f01cdf4d080c7c0d55f46a https://github.com/xwiki/xwiki-platform/commit/99b086b4dbd0bdc5f8f01cdf4d080... Author: Michael Hamann <[email protected]> Date: 2025-09-11 (Thu, 11 Sep 2025) Changed paths: M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/PagePickerIT.java M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-docker/src/test/it/org/xwiki/livedata/test/ui/LiveDataIT.java M xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-test/xwiki-platform-user-test-docker/src/test/it/org/xwiki/user/test/ui/UserPickerIT.java Log Message: ----------- [Misc] Wait for non-typed suggestions before getting suggestions Explicitly wait for non-typed suggestions in tests that get the list of suggestions. This should avoid flickering due to only getting the suggestion of the typed input. Compare: https://github.com/xwiki/xwiki-platform/compare/3381892ab413...99b086b4dbd0 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications