This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-6d045540-ced9-46cb-9f6d-5f84807e7bb9 XWIKI-25117 Open

Add automated test for "Live email notifications with filter"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b88172b5-7cf0-4622-b7e4-66fff1f156c1 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Live email notifications with filter"
Issue Type: cid:jira-generated-image-avatar-6d045540-ced9-46cb-9f6d-5f84807e7bb9 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-8f86c4e2-0f06-4412-b146-5b5224bc3951 Major
Reporter: Vincent Massol
Description:

The manual test is here: Live email notifications with filter

Existing automated coverage

Missing automated coverage

  • Start the instance with notifications.emails.live.graceTime=0 and GreenMail; create pages a/b/c/d/e.
  • User U1 (with an email address) follows the entire wiki, sets "Email Frequency" to Live and turns on all Email toggles.
  • As U1, add an Ignore filter on page c (page and children), event type "A page is modified", channel Email.
  • As another user, update pages a, b, c, d and e.
  • Assert that U1 receives live emails only for the updates of a and b, and none for c, d and e.

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).