This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-6872109b-d93d-4a0a-ae5f-4cb594329634 XWIKI-25143 Open

Add automated test for "Notifications Email Preferences Macro"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-64493a91-1486-414a-867e-13eece018800 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Notifications Email Preferences Macro"
Issue Type: cid:jira-generated-image-avatar-6872109b-d93d-4a0a-ae5f-4cb594329634 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-e9a0bc67-380b-403e-b7b9-e4e349676927 Major
Reporter: Vincent Massol
Description:

The manual test is here: Notifications Email Preferences Macro

Existing automated coverage

Missing automated coverage

  • Add page-object support for the Email Frequency (interval) setting
  • Create a page with the notificationsEmailPreferences macro (inserted via CKEditor Insert > Other Macros)
  • Assert Email Frequency and Details of the changes on the page match the user Notification settings
  • Change both in Notification settings; assert the page macro shows the new values
  • Change both from the page macro; assert Notification settings show them

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