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

Add automated test for "User membership in the profile"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: User membership in the profile

      Existing automated coverage

      Missing automated coverage

      • Create a global user and add it to 2 groups on the main wiki, one of them member of a parent group
      • Create a subwiki allowing global users and add the user to a group there
      • As admin, from the main wiki, open the user's profile > Groups and assert the direct groups, the parent group and the subwiki group are all listed
      • Log in as the user, open profile > Groups and assert the same list

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