Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25074

Add automated test for "Insert Info Macro in CKEditor"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Insert Info Macro in CKEditor

      Existing automated coverage

      Missing automated coverage

      • Add a page object for the CKEditor toolbar Insert (the plus icon) dropdown (CKEditorToolBar has none).
      • Edit a page in CKEditor, click Insert (the plus icon) > Info Box, type "This is an info macro!" in its content; assert the info box is rendered in the editor.
      • Save & View and assert the view page shows a .box.infomessage containing "This is an info macro!".

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: