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

Add automated test for "Rename Move application [since XWiki 11.1RC1]"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Rename Move application (since XWiki 11.1RC1)

      Existing automated coverage

      None found.
      Searched AWM, refactoring and panels tests for Move/Rename actions and rename jobs applied to AWM applications; only class field renames exist (ClassEditorIT#renameField).

      Missing automated coverage

      • As Admin, create an AWM application with at least one entry
      • On the application home page click Move/Rename, type a new name and choose a new parent (e.g. Sandbox), click Rename and wait for the job
      • Assert the application home page is now at Sandbox.<newName> and the Code pages (class, template, sheet, translations) moved with it
      • Assert the app is listed in the AWM apps live table and the Applications panel under its new location
      • Assert existing entries still display and a new entry can be added

      Suggested location: xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-docker (new RenameApplicationIT, or extend AppsLiveTableIT)

      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: