This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-bdb965f6-9e34-4566-bdf9-ee922b8f81cf XWIKI-25113 Open

Add automated test for "Add exclusive filters" (Notification Tests)

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e536eacc-b439-45df-b164-ec0205d9f3a7 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Add exclusive filters" (Notification Tests)
Issue Type: cid:jira-generated-image-avatar-bdb965f6-9e34-4566-bdf9-ee922b8f81cf Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-7170ab2e-ab80-46a7-92c6-29e70158b828 Major
Reporter: Vincent Massol
Description:

The manual test is here: Add exclusive filters

Existing automated coverage

Missing automated coverage

  • Create pages a/b/c/d/e; user U1 has an email address, follows the entire wiki, picks the Daily email frequency and turns on the Pages alert and email toggles.
  • As U1, add an Ignore filter on page c (page and children), event type "A page is modified", channel Alert.
  • As U1, add an Ignore filter on page d (page and children), event type "A page is modified", channel Email.
  • As another user, update pages a, b, c, d and e.
  • Trigger the "Notifications daily email" scheduler job.
  • Assert that U1's notification tray shows update events only for a and b.
  • Assert that the email received by GreenMail lists update events only for a, b and c.

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/NotificationsEmailsIT.java

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