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

Add automated test for "Check the text version of an email notification"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Check the text version of an email notification

      Existing automated coverage

      Missing automated coverage

      • Have U1 follow the entire wiki, pick the Daily frequency with "Details of the changes" = Standard, and turn on all email toggles (Pages, Comments, Mentions, Likes).
      • As Admin, update a page, comment on a page, delete a page, mention U1 in a page and like a page (in addition to the create already covered).
      • Trigger the "Notifications daily email" job.
      • Assert that the text/plain part, under "Event(s) on the wiki:", lists every event performed by Admin.
      • Assert that each event has the label of its type: [update], [addComment], [delete], the mention and the like events.

      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/NotificationsEmailsIT.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: