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

Add automated test for "Add an image with caption"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Add an image with caption

      Existing automated coverage

      Missing automated coverage

      • Edit the page in CKEditor Source mode, enter a captioned image whose caption is a link to https://www.xwiki.org (the syntax given in the manual test), switch back to WYSIWYG; assert a figure whose figcaption contains the link is shown.
      • Modify the caption text in-line below the image and assert the source keeps the link inside the updated caption.
      • Save & View and assert the view page renders a figure with the image and a figcaption containing the updated text and the xwiki.org link (both for the Source-mode image and the Upload-tab captioned image).

      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/ImageIT.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: