This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-d45a6d51-7939-4379-8e5f-3c4a41016881 XWIKI-25145 Open

Add automated test for "Notifications Macro on subwiki restrict displayed events"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-980d3c9e-3dfa-45eb-a819-07b899938f0e Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Notifications Macro on subwiki restrict displayed events"
Issue Type: cid:jira-generated-image-avatar-d45a6d51-7939-4379-8e5f-3c4a41016881 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-07f34009-df2d-47b9-b3ed-0cec4911c101 Major
Reporter: Vincent Massol
Description:

The manual test is here: Notifications Macro on subwiki restrict displayed events

Existing automated coverage

Missing automated coverage

  • On a subwiki where U1 is a member and follows the entire wiki, as Admin create, update and comment P1 and Sandbox
  • As U1 create a page with the notifications macro, useUserPreferences=false and pages=Sandbox.WebHome
  • Assert only events for Sandbox.WebHome are displayed
  • Repeat with spaces=<subwiki>:P1 and assert only events for P1 are displayed

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

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