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

Add automated test for "Add a link to an existing page, attachment and URL"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Add a link to an existing page, attachment and URL

      Existing automated coverage

      Missing automated coverage

      • Select a word, open the Link dialog, type http://google.ro, choose the URL resource type, submit; assert the source contains a url:http://google.ro link labelled with that word.
      • Create the page and attachment links on selected words (not at the caret) and assert the selected words become the link labels.
      • Save & View and assert the three rendered links point to the target page view URL, the attachment download URL and the external URL (optionally click the page link and assert the target page is displayed).

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