Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25143

Add automated test for "Notifications Email Preferences Macro"

    XMLWordPrintable

Details

    • Unknown

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: