|
| Summary: |
Add automated test for "Export Pdf (Old PDF)" |
| Issue Type: |
Task |
| Affects Versions: |
11.10.13 |
| Assignee: |
Unassigned |
| Components: |
Development Issues only |
| Created: |
01/Oct/26 20:51 |
| Labels: |
testneeded |
| Priority: |
Major |
| Reporter: |
Vincent Massol |
| Description: |
The manual test is here: Export Pdf (Old PDF) Existing automated coverage
Missing automated coverage
- With the new PDF export installed, set Administer Wiki > Content > PDF Export > Replace FOP to No and save
- Create a page with comments and an image attachment
- Open More Actions > Export > PDF (FOP), select Cover, Table of Contents, Header, Footer, Comments and Page Attachments, click Export
- Assert with PDFBox that the cover page, TOC, header and footer text, the comments and the attachment are in the PDF
- Export again with all options deselected and assert only the page content is present (no cover, TOC, header, footer, comments, attachments)
Suggested location: xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-docker/src/test/it/org/xwiki/export/pdf/test/ui/PDFExportIT.java Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a). |
|