This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-453961b1-53e4-4621-9a67-a568ce556912 XWIKI-25142 Open

Add automated test for "Notifications Custom Filters Preferences"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-78907217-5335-4501-a1fa-e648d0dae178 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Notifications Custom Filters Preferences"
Issue Type: cid:jira-generated-image-avatar-453961b1-53e4-4621-9a67-a568ce556912 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-f8f94fe7-95a9-4f27-a3b4-d86cb299f7d9 Major
Reporter: Vincent Massol
Description:

The manual test is here: Notifications Custom Filters Preferences (Since 13.2 RC1)

Existing automated coverage

Missing automated coverage

  • Create custom filters in the user Notification settings (+Add filter)
  • Create a page with the notificationsCustomFiltersPreferences macro (inserted via CKEditor Insert > Other Macros)
  • Assert the macro on the page lists the same filters as the Notification settings
  • Add a filter and change an existing one in Notification settings; assert the page macro reflects it
  • Delete a filter and change another from the page macro; assert Notification settings reflect it

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

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