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

Add automated test for "Delete Application"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Delete Application

      Existing automated coverage

      • WizardIT#createApplication: Clicks Delete Application on the app home page, confirms Yes and asserts the app is no longer listed in the AWM apps live table (line 306)
      • AppsLiveTableIT#deleteApplication: Deletes an app from the AWM apps live table with No/Yes confirmation and asserts it is no longer listed
      • ApplicationsPanelEntryIT#applicationPanelEntry: Sets the app title and icon on the application home edit form (not through the wizard), asserts they are kept, and opens the app by clicking its title in the Applications panel (icon not asserted in the panel)

      Missing automated coverage

      • Create an application that has an Applications panel entry
      • Open the application by clicking its entry in the Applications panel
      • Click Delete Application and confirm with Yes
      • Assert the application is no longer listed in the Applications panel (ApplicationsPanel#containsApplication is false)

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