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

Add automated test for "Mention an user from a subwiki"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Mention an user from a subwiki

      Existing automated coverage

      Missing automated coverage

      • Create a subwiki and a local user UL1 on it with an email address; mail is configured on the main wiki only and GreenMail is used.
      • As UL1, turn on the Mentions alert and email toggles and turn the Pages toggles off.
      • As Admin, edit a subwiki page in CKEditor, type "@", pick UL1 from the dropdown and save.
      • Trigger the subwiki "Notifications daily email" job.
      • As UL1, assert that the mention notification is in the tray.
      • Assert that UL1 received the email with the mention (sent with the main-wiki mail configuration, see XWIKI-12435).

      Suggested location: xwiki-platform-core/xwiki-platform-mentions/xwiki-platform-mentions-test/xwiki-platform-mentions-test-docker/src/test/it/org/xwiki/mentions/test/ui/MentionsIT.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: