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

Add automated test for "Create and Add an Object to the Class Template"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: https://test.xwiki.org/xwiki/bin/view/Other%20Tests/Create%20the%20Class%20Template%20for%20your%20Class

      The test verifies that an object can be created and added to a class template.

      Matrix discussion: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$161313611212775dBedf:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com&via=t2bot.io

      Ilie Andriuta: ** Hi! Continuing the manual tests migration, there is a test about creating and adding an object to the Class Template: https://test.xwiki.org/xwiki/bin/view/Other%20Tests/Create%20the%20Class%20Template%20for%20your%20Class

      I've checked https://github.com/xwiki/xwiki-platform/blob/0e3ec41cda7ac82f14e8cc092ff2e5f059ed1fc1/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/PageTemplatesIT.java#L70 and https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/xwiki-platform-distribution-flavor-test-ui/src/test/it/org/xwiki/test/ui/TemplateTest.java but it seems I couldn't find it in the automated tests.

      Can you please confirm whether the automated test exists or not and maybe providing the link to it?

      Simon Urli: I don't think we have an automated test for it, but should be easy to add in the checks of https://github.com/xwiki/xwiki-platform/blob/0e3ec41cda7ac82f14e8cc092ff2e5f059ed1fc1/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/PageTemplatesIT.java#L70
       
      Ilie Andriuta: ** ok, thanks, I'll create a JIRA task for it

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: