This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-b49bdb0d-ddf8-401d-ad44-1edb16ed202f XWIKI-25074 Open

Add automated test for "Insert Info Macro in CKEditor"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-43b4726f-2ea0-422e-bd04-bc2deef2c96f Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Insert Info Macro in CKEditor"
Issue Type: cid:jira-generated-image-avatar-b49bdb0d-ddf8-401d-ad44-1edb16ed202f 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-dc01e51f-22a7-425d-a220-8cb1771a2c6a Major
Reporter: Vincent Massol
Description:

The manual test is here: Insert Info Macro in CKEditor

Existing automated coverage

Missing automated coverage

  • Add a page object for the CKEditor toolbar Insert (the plus icon) dropdown (CKEditorToolBar has none).
  • Edit a page in CKEditor, click Insert (the plus icon) > Info Box, type "This is an info macro!" in its content; assert the info box is rendered in the editor.
  • Save & View and assert the view page shows a .box.infomessage containing "This is an info macro!".

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/MacroIT.java

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