This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-9dfa0445-87f2-45e1-91f8-cea962f0127c XWIKI-25119 Open

Add automated test for "Load older notifications"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c35e9777-9294-4ade-b320-036846f27230 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Load older notifications"
Issue Type: cid:jira-generated-image-avatar-9dfa0445-87f2-45e1-91f8-cea962f0127c Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-f875a3b7-2087-4396-8a7c-2611424dd656 Major
Reporter: Vincent Massol
Description:

The manual test is here: Load older notifications

Existing automated coverage

Missing automated coverage

  • With more than 10 notifications for the user (for example 15), open the bell and assert that 10 are shown.
  • Click "Load older notifications" (needs a page-object method on NotificationsTrayPage or NotificationsContainerElement).
  • Assert that the list grows by the next batch (15 here; with more than 20, it becomes 20), with older events and no duplicates.
  • Assert that the button disappears once all notifications are loaded.

Suggested location: 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

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).