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

Add automated test for "Automatic link creation when dropping a non-image file"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Automatic link creation when dropping a non-image file

      Existing automated coverage

      Missing automated coverage

      • Edit a page in-place and drop a non-image file (e.g. PDF or text) over the editing area.
      • Assert the "File successfully uploaded." notification (RichTextAreaElement#dropFile(path) with wait already does this).
      • Assert a link labelled with the file name is shown in edit mode.
      • Save; assert the view page shows a link to the attachment named after the file.
      • Assert the file is listed in the Attachments tab.

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