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

Add automated test for "User Profile Activity Stream displays all performed events"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: User Profile Activity Stream displays all performed events

      Existing automated coverage

      Missing automated coverage

      • Use a global user who is a member of a subwiki; log in as that user.
      • Create a page on the main wiki and a page on the subwiki as that user.
      • Open the user's own profile page (XWiki.<user>) and wait for the activity stream (notifications macro with users=<user>) to load.
      • Assert that both creation events are listed, the subwiki one included (with its "(<wiki>)" suffix).
      • Assert that events of other users are not listed there.

      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: