[xwiki/xwiki-platform] e7c299: XWIKI-25074: Add automated test for "Insert Info M...
Branch: refs/heads/backport/stable-17.10.x/XWIKI-25074 Home: https://github.com/xwiki/xwiki-platform Commit: e7c2994b005456d45ccd38e719ef8f7c75b00b61 https://github.com/xwiki/xwiki-platform/commit/e7c2994b005456d45ccd38e719ef8... Author: Vincent Massol <[email protected]> Date: 2026-10-09 (Fri, 09 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker/pom.xml M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker/src/test/it/org/xwiki/ckeditor/test/ui/AllIT.java M 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 A xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker/src/test/it/org/xwiki/ckeditor/test/ui/ToolBarIT.java M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/CKEditorToolBar.java A xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/EmojiPanel.java M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/MacroDialogEditModal.java A xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/SpecialCharacterDialog.java A xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/MessageBoxElement.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/ViewPage.java Log Message: ----------- XWIKI-25074: Add automated test for "Insert Info Macro in CKEditor" (#6563) XWIKI-25081: Add automated test for "In-line macro content editing" XWIKI-25082: Add automated test for "Insert Display Macro" XWIKI-25084: Add automated test for "Insert Special Character" XWIKI-25076: Add automated test for "Add Emoji" * Add MessageBoxElement and ViewPage#getMessageBoxes() to inspect the message boxes (info, warning, error, success) of a page, and MacroDialogEditModal#getMacroParameterSuggestInput() for parameters picked from suggestions, so that the tests don't need any CSS selector * Add page objects for the CKEditor Insert menu (Info Box, Other Macros, Special Character), the Emoji List panel and the Special Character dialog, plus bold / italic / underline tool bar actions, each action waiting for its own outcome so that the tests don't have to * Nest MacroIT in AllIT: it was a standalone `@UITest` class, never run on CI because only AllIT is in the failsafe includes * Add MacroIT tests inserting the info macro from the Insert menu and from Other Macros (with in-line editing of its title and content, and formatting of its content), and the display macro from Other Macros * Add ToolBarIT, testing the insertion of special characters and emojis (first category, other category, search) * Add the display macro as a runtime dependency of the CKEditor docker tests Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 9a8509994f73aafc732cc8b5734011078a13d274) * Added the `@since` of the backport branches to the new APIs * Adapted to stable-17.10.x, where the macro and image dialog page objects are still in the CKEditor page objects module (they were moved to the generic WYSIWYG module by XWIKI-23918): kept the existing imports and added `getMacroParameterSuggestInput()` to the CKEditor `MacroDialogEditModal` * Adapted `MacroIT` to the stable-17.10.x test APIs: `MacroDialogSelectModal#filterByText()` returns nothing and `waitForSolrIndexing()` needs the test configuration To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications