This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0b75d724-dbb3-4891-967a-1677745668f6 XWIKI-25078 Open

Add automated test for "Copy and Paste text"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e6402c97-f55c-4a0e-a916-329d288bd850 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Copy and Paste text"
Issue Type: cid:jira-generated-image-avatar-0b75d724-dbb3-4891-967a-1677745668f6 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-bac49cf4-6dbb-4d1b-803e-0d3b2fb8867e Major
Reporter: Vincent Massol
Description:

The manual test is here: Copy and Paste text

Existing automated coverage

Missing automated coverage

  • Edit a page in CKEditor and enter (or paste) a multi-paragraph block of text.
  • Select a few words, press Ctrl+C, move the caret to another paragraph, press Ctrl+V.
  • Assert the source contains the copied text at both places (the original kept) and nothing else changed.
  • Save & View and assert the pasted text 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/FilterIT.java (or a new ClipboardIT test class in xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker)

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).