This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-ba2cbd9c-1638-4aee-a3e8-7bfbce80b436 XWIKI-25086 Open

Add automated test for "Live macro rendering when editing in place"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-19759f8a-13ea-41ff-98ef-878da62f15d3 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Live macro rendering when editing in place"
Issue Type: cid:jira-generated-image-avatar-ba2cbd9c-1638-4aee-a3e8-7bfbce80b436 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-2e672173-5202-4d51-a944-60af2ea99026 Major
Reporter: Vincent Massol
Description:

The manual test is here: Live macro rendering when editing in place

Existing automated coverage

  • InplaceEditIT#macroPlaceholder: In-place edit: inserts the Id macro (parameter set in the macro modal, Submit) and the Children macro via quick actions; asserts the Children macro output is rendered right after insertion.
  • MacroIT#children: Children macro output rendered in the standalone editor.

Missing automated coverage

  • Edit a page in-place, open Insert > Other Macros, select a macro with visible output (e.g. Documents/Pages), fill its options, Submit.
  • Assert the macro output is rendered in the editing area immediately after Submit (no placeholder).

Suggested location: xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/it/org/xwiki/edit/test/ui/InplaceEditIT.java

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