This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-73524c12-8581-4fbb-83ae-731a13418e32 XWIKI-25118 Open

Add automated test for "Live email notifications on subwiki"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-124920ac-4a1b-4197-a0b4-e6c733e362b3 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Live email notifications on subwiki"
Issue Type: cid:jira-generated-image-avatar-73524c12-8581-4fbb-83ae-731a13418e32 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-f48ac711-a161-4082-9c3d-9b31cbfc56d9 Major
Reporter: Vincent Massol
Description:

The manual test is here: Live email notifications on subwiki

Existing automated coverage

Missing automated coverage

  • Configure mail on the main wiki only, start GreenMail and set notifications.emails.live.graceTime=0.
  • Create a subwiki and a local user on it with an email address.
  • As that user, follow the entire subwiki, set "Email Frequency" to Live and turn on all Email toggles.
  • As Admin, create, update and delete a page, comment on another page and mention the user in a page, all on the subwiki.
  • Assert that the local user receives an email for each of these events (sent with the main-wiki mail configuration).

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 (as a new @WikisSource test)

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