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

Add automated test for "Import Office Document with uncheck Filter Styles"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: Import Office Document with uncheck Filter Styles

      Existing automated coverage

      • OfficeImporterIT#verifyImport: creates a page of type "Page From Office" and imports .doc/.ppt/.xls/.odt/.odp/.ods files, checking the resulting content

      Missing automated coverage

      • Create a "Page From Office" page, select an office document (e.g. Test.odt and Test.doc), uncheck "Filter styles" (OfficeImporterPage#setFilterStyle(false)) and click Import
      • Assert the page is created and its content is displayed properly, with style information preserved compared to the filtered import

      Suggested location: xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-test/xwiki-platform-office-test-docker/src/test/it/org/xwiki/officeimporter/test/ui/OfficeImporterIT.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: