This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-e7bf7cec-1b63-466f-aabc-47167651c3c2 XWIKI-25077 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-94e08ee3-4fa0-41ff-93f6-ae061365283b Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Automatic link creation when dropping a non-image file"
Issue Type: cid:jira-generated-image-avatar-e7bf7cec-1b63-466f-aabc-47167651c3c2 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-07e4737e-4fad-45cb-8234-2f49b6b2907f Major
Reporter: Vincent Massol
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).