This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-b0cb043e-672f-4be7-abec-9145742bc1d0 XWIKI-25073 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f8275cba-02ad-4580-8e4e-ad969f168bbb Vincent Massol created this issue on 01/Oct/26 20:50
 
Summary: Add automated test for "Add a link to an existing page, attachment and URL"
Issue Type: cid:jira-generated-image-avatar-b0cb043e-672f-4be7-abec-9145742bc1d0 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:50
Labels: testneeded
Priority: cid:jira-generated-image-static-major-a49bec40-142e-4970-88b4-4abb134cbb8b Major
Reporter: Vincent Massol
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).