This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-12ec2909-d258-420b-a15a-fa2e1c7aa8b4 XWIKI-25123 Open

Add automated test for "Add exclusive filters" (User Mentions Tests)

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-143dd267-1fe3-49e4-8efe-37b5ad26f6c9 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Add exclusive filters" (User Mentions Tests)
Issue Type: cid:jira-generated-image-avatar-12ec2909-d258-420b-a15a-fa2e1c7aa8b4 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-de24972f-8e31-4a2d-92ab-e6cc00a21358 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; U1 has an email address, picks the Daily email frequency, turns on the Mentions alert and email toggles and turns the Pages toggles off.
  • As U1, add an Ignore filter on page c (page and children), event type Mentions, channel Alert.
  • As U1, add an Ignore filter on page d (page and children), event type Mentions, channel Email.
  • As Admin, mention U1 on each of a, b, c, d and e (in the WYSIWYG editor).
  • Trigger the "Notifications daily email" job.
  • Assert that U1's tray shows mentions only for a and b.
  • Assert that the email received by GreenMail lists mentions only for a, b and c.

Suggested location: xwiki-platform-core/xwiki-platform-mentions/xwiki-platform-mentions-test/xwiki-platform-mentions-test-docker/src/test/it/org/xwiki/mentions/test/ui/MentionsIT.java

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