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

Add automated test for "Replace Author when Deleting Users"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Replace Author when Deleting Users

      Existing automated coverage

      Related: XWIKI-18504 (closed) added the test for the delete-user warning, but not for the replacement of the author.

      Missing automated coverage

      • In the delete confirmation modal of a user with Script right who last modified a page, select another user (or Admin) in the new author picker (#newAuthor; add a DeleteUserConfirmationModal method)
      • Click Delete, open the page created by U1 and assert its last author is the selected user
      • Optionally, select a user without Script right and assert the picker error message is shown

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