This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-176fb0d5-a74a-4601-9e65-47b549f935dd XWIKI-25084 Open

Add automated test for "Insert Special Character"

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bdd0608d-650a-4367-9ad9-018e32ff89bc Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Insert Special Character"
Issue Type: cid:jira-generated-image-avatar-176fb0d5-a74a-4601-9e65-47b549f935dd 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-b7f8dbdf-26e0-499f-ad85-15997b2d0ec6 Major
Reporter: Vincent Massol
Description:

The manual test is here: Insert Special Character

Existing automated coverage

None found.
Searched for specialchar / Special Character in all Java and JavaScript tests and page objects (ckeditor, realtime, edit modules) and the CKEditor toolbar page object.

Missing automated coverage

  • Add a page object for the Insert (the plus icon) menu and the CKEditor Special Character dialog.
  • Edit a page in CKEditor, open Insert (the plus icon) > Special Character and click a few characters (e.g. ©, €, ½).
  • Assert the characters are inserted in the edited content / source.
  • Save & View and assert the characters are displayed in view mode.

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/QuickActionsIT.java (or a new SpecialCharIT 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).