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

Add automated test for "Install extension history"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Install%20Extension

      The test verifies the history behavior when an extension is installed.

      Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$1657180649288PsKTe:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=caubin.fr

       

      Ilie Andriuta: Hi! Continuing the manual tests migration, there is a test about checking if the behaviour is correct when installing an extension from Extension Manager: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Install%20Extension
      I've checked https://github.com/xwiki/xwiki-platform/blob/73b07f8352d1716b9945b577d6e4a3334f058a77/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-script/src/test/java/org/xwiki/extension/script/ExtensionManagerScriptServiceTest.java and https://github.com/xwiki/xwiki-platform/blob/060a43e359ff19d49db049798be0fdf0dc876947/xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/ExtensionInstaller.java but it seems I couldn't find automated tests for it.
      Can you please confirm whether the automated test exists for it or not and maybe providing the link to it? Thanks!

      Marius Dumitru Florea: In reply to
      Ilie Andriuta
      Thomas@tmortagne:matrix.xwiki.com
      I don't think the integration test will work if the progress bar does not appear. I'm not sure if the history is tested,

      I can't find any page object for extension history, so there aren't any functional tests most probably.
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: