This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-2cf523cb-6253-4fd4-a689-30affb0e832c XWIKI-25081 Open

Add automated test for "In-line macro content editing"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5515207d-fc59-473b-ac7e-c1552ccf2e84 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "In-line macro content editing"
Issue Type: cid:jira-generated-image-avatar-2cf523cb-6253-4fd4-a689-30affb0e832c 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-f218d50d-18b9-4001-91e9-5e12b60d4bc3 Major
Reporter: Vincent Massol
Description:

The manual test is here: In-line macro content editing

Existing automated coverage

Missing automated coverage

  • Add a CKEditor page object for Insert > Other Macros (MacroDialogSelectModal exists but no CKEditor test opens it).
  • Open Insert > Other Macros, search and select "Info Message", fill Title "This is a title!" and Content "This is an info macro!", Submit.
  • Type extra words in-line after the content text and after the title text.
  • Select words in the content and apply Bold, Italic and Underline.
  • Save & View and assert the info box shows the updated title and content with the bold/italic/underline formatting.

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).