[xwiki/xwiki-platform] 3cdf93: XWIKI-25074: Add automated test for "Insert Info M...
Branch: refs/heads/XWIKI-25074-automated-test Home: https://github.com/xwiki/xwiki-platform Commit: 3cdf935a166bf2eaf3f6a1bf4f36052934c9c233 https://github.com/xwiki/xwiki-platform/commit/3cdf935a166bf2eaf3f6a1bf4f360... Author: Vincent Massol <[email protected]> Date: 2026-10-06 (Tue, 06 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 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 Log Message: ----------- XWIKI-25074: Add automated test for "Insert Info Macro in CKEditor" 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 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 * 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]> Commit: 68387e5aa930d0d2bfbd504d2b14a5c87bec9735 https://github.com/xwiki/xwiki-platform/commit/68387e5aa930d0d2bfbd504d2b14a... Author: Vincent Massol <[email protected]> Date: 2026-10-06 (Tue, 06 Oct 2026) Changed paths: 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 M 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/EmojiPanel.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 M xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-test/xwiki-platform-wysiwyg-test-pageobjects/src/main/java/org/xwiki/wysiwyg/test/po/MacroDialogEditModal.java Log Message: ----------- XWIKI-25074: Add automated test for "Insert Info Macro in CKEditor" 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 * 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]> Compare: https://github.com/xwiki/xwiki-platform/compare/bbc8d69a2226...68387e5aa930 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications