Branch: refs/heads/backport/stable-18.4.x/XWIKI-25111 Home: https://github.com/xwiki/xwiki-platform Commit: 6a1b2e49a53daa661c7d7b2c195ab23446a81e80 https://github.com/xwiki/xwiki-platform/commit/6a1b2e49a53daa661c7d7b2c195ab... Author: Michael Hamann <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/it/org/xwiki/platform/notifications/test/ui/NotificationsIT.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsContainerElement.java Log Message: ----------- [Misc] Fix race condition in NotificationsIT * Add a method to wait/reload a page with the notification macro until the expected count is displayed. * Wait in NotificationsIT until the notifications are displayed to avoid that the test fails - it failed for me two times in a row locally. (cherry picked from commit 1f37a1d08c4b4eb45733616527e0cafd3930bae3) Commit: 161ee3e41829650371f83b08f0c8996d1b7fe669 https://github.com/xwiki/xwiki-platform/commit/161ee3e41829650371f83b08f0c89... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/pom.xml M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/it/org/xwiki/platform/notifications/test/ui/NotificationsIT.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsContainerElement.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsTrayPage.java Log Message: ----------- XWIKI-25111: Add automated test for "Create page" (#6575) * NotificationsIT#ownEventNotifications (XWIKI-25111): the Dashboard activity gadget lists the page creation as a "create" event by its creator (adds xwiki-platform-dashboard-ui to the test WAR) * NotificationsIT#displayNotificationsOnSubwikis (XWIKI-25112): the activity stream of the user profile lists the pages that the user created on the main wiki and on a subwiki, and not the events of another user * NotificationsIT#displayNotificationsOnSubwikis (XWIKI-25145): on a subwiki, the notifications macro restricted with pages= or spaces= only lists the events of that page or space * NotificationsIT#simpleNotifications (XWIKI-25116, XWIKI-25119, XWIKI-25120): "Load older notifications" loads the next batches until every notification is listed once, the badge count equals the number of listed unread notifications, and the badge disappears after Clear All and stays absent after a reload * NotificationsIT#compositeNotifications (XWIKI-25144): a page holding the notifications macro with useUserPreferences=true lists the same notifications as the tray, and marking one as read from the macro marks it as read in the tray * Add NotificationsTrayPage#isCountBadgeDisplayed and NotificationsContainerElement#waitUntilNotifications/#isNotificationUnread Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 65a0aa963b55243292db5fee0d719c32325d29b5) Commit: e10fc6667f98f677dcf8b1d913da3f864cae6a16 https://github.com/xwiki/xwiki-platform/commit/e10fc6667f98f677dcf8b1d913da3... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/it/org/xwiki/platform/notifications/test/ui/NotificationsIT.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsContainerElement.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsTrayPage.java Log Message: ----------- XWIKI-25111: Add automated test for "Create page" * Use the REST test API of this branch: save the pages of another user with savePageAs() and post the comments as that user by switching the default credentials, instead of RestTestUtils#runAs() and CommentsTab#restPostComment(), which are not on this branch * Port NotificationsContainerElement#getNotificationIndex, used by the new compositeNotifications assertions * NotificationsTrayPage#isCountBadgeDisplayed: inline the selector of the notifications menu, since NOTIFICATION_BUTTON_CSS_SELECTOR is not on this branch Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Commit: 571db52ae22b6cab24d97e2c43aad8abcf269938 https://github.com/xwiki/xwiki-platform/commit/571db52ae22b6cab24d97e2c43aad... Author: Vincent Massol <[email protected]> Date: 2026-10-13 (Tue, 13 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsContainerElement.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-pageobjects/src/main/java/org/xwiki/platform/notifications/test/po/NotificationsTrayPage.java Log Message: ----------- XWIKI-25111: Add automated test for "Create page" * Adjust the `@since` of the backported page object elements Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/6a1b2e49a53d%5E...571db52ae2... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications