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

Add automated test for "Notifications Macro"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Notifications Macro

      Existing automated coverage

      Missing automated coverage

      • U1 has notifications on and watches the whole wiki; as Admin create, update and comment pages
      • As U1 create a page with the notifications macro and useUserPreferences=true (inserted via CKEditor Insert > Other Macros)
      • Assert the macro lists the same events as the notification tray
      • Mark an event as read in the page macro and refresh
      • Assert the event is shown as read in the macro and the tray unread count decreased

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: