This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-64583d2a-3ed1-486e-a9f4-250915c3b4dc XWIKI-25115 Open

Add automated test for "Check the text version of an email notification"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ecfc4a8e-6504-4b9e-a9db-ef1d56070fe9 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Check the text version of an email notification"
Issue Type: cid:jira-generated-image-avatar-64583d2a-3ed1-486e-a9f4-250915c3b4dc 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-1fbced4d-18de-46a7-a747-5903638ee72d Major
Reporter: Vincent Massol
Description:

The manual test is here: Check the text version of an email notification

Existing automated coverage

Missing automated coverage

  • Have U1 follow the entire wiki, pick the Daily frequency with "Details of the changes" = Standard, and turn on all email toggles (Pages, Comments, Mentions, Likes).
  • As Admin, update a page, comment on a page, delete a page, mention U1 in a page and like a page (in addition to the create already covered).
  • Trigger the "Notifications daily email" job.
  • Assert that the text/plain part, under "Event(s) on the wiki:", lists every event performed by Admin.
  • Assert that each event has the label of its type: [update], [addComment], [delete], the mention and the like events.

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