This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-21426d7b-46df-4d8c-a820-2221893e4e6b XWIKI-25082 Open

Add automated test for "Insert Display Macro"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dfbcc40d-02a3-475c-af32-1ac38a8e952b Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Insert Display Macro"
Issue Type: cid:jira-generated-image-avatar-21426d7b-46df-4d8c-a820-2221893e4e6b 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-24b1e81e-9ad0-4737-93af-11bebd8250be Major
Reporter: Vincent Massol
Description:

The manual test is here: Insert Display Macro

Existing automated coverage

Missing automated coverage

  • Edit a page in CKEditor, Insert (the plus icon) > Other Macros, search "Display" and select it.
  • Fill the reference parameter with an existing page and Submit; assert the displayed page content is rendered in the editor.
  • Save & View and assert the displayed page content is rendered 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/MacroIT.java

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