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

Add automated test for "Live email notifications on subwiki"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Live email notifications on subwiki

      Existing automated coverage

      Missing automated coverage

      • Configure mail on the main wiki only, start GreenMail and set notifications.emails.live.graceTime=0.
      • Create a subwiki and a local user on it with an email address.
      • As that user, follow the entire subwiki, set "Email Frequency" to Live and turn on all Email toggles.
      • As Admin, create, update and delete a page, comment on another page and mention the user in a page, all on the subwiki.
      • Assert that the local user receives an email for each of these events (sent with the main-wiki mail configuration).

      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 (as a new @WikisSource test)

      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: