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

Add automated test for "Copy and Paste text"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Copy and Paste text

      Existing automated coverage

      Missing automated coverage

      • Edit a page in CKEditor and enter (or paste) a multi-paragraph block of text.
      • Select a few words, press Ctrl+C, move the caret to another paragraph, press Ctrl+V.
      • Assert the source contains the copied text at both places (the original kept) and nothing else changed.
      • Save & View and assert the pasted text is displayed.

      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/FilterIT.java (or a new ClipboardIT test class in xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-docker)

      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: