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

Add automated test for "Create a template with descendent documents"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Create%20a%20template%20with%20descendent%20documents

      The test verifies that a template with a descendant document can be used to create a page with the same hierarchy.

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

      Ilie Andriuta: Hi! Continuing the manual tests migration, this week there is one test about creating of a template with descendant documents:
      https://test.xwiki.org/xwiki/bin/view/Administration%20Tests/Create%20a%20template%20with%20descendent%20documents

      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 but I could not 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: for info there's a TemplateTest here: 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 AFAICS there's no such test in it
      so I don't think we have an automated test for this
      Ilie Andriuta: ok, thanks Simon Urli I will create a JIRA task for it then

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: