stable

Clone or download

Read-only

feat: Initiate dl of document in testplan

The dropdown has now a new option so that a user can download a document instead of a spreadsheet. For now only the cover page is provided, other pages will come later. No functional changes for the XLSX export. Part of story #23462: export test plan as a docx document Change-Id: Ie81205440cefa7482d44472c242d0ad75a19fb9d

Modified Files

Name
M plugins/testplan/include/TestPlanPresenter.php +19 −1 Go to diff View file
M plugins/testplan/include/TestPlanPresenterBuilder.php +6 −0 Go to diff View file
M plugins/testplan/package.json +1 −0 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +104 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/index.ts +10 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/po/fr_FR.po +15 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.test.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.vue +64 −4 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-loader.test.ts +46 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-loader.ts +39 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-transformation.test.ts +47 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-transformation.ts +54 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/document-properties.test.ts +26 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/document-properties.ts +148 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.test.ts +43 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.ts +94 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.test.ts +105 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.ts +124 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts +67 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.ts +60 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/html-styles.ts +200 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/trigger-blob-download.ts +29 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +34 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.test.ts +53 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.ts +48 −0 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Exporter/XLSX/download-xlsx.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Exporter/XLSX/download-xlsx.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Exporter/XLSX/transform-report-to-xlsx-sheet.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Exporter/XLSX/transform-report-to-xlsx-sheet.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/artifact.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/artifacts-retriever.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/artifacts-retriever.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/tracker.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/trackers-retriever.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/Tracker/trackers-retriever.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/general-information-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/general-information-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/justifications-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/justifications-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/requirements-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/requirements-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/test-results-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/test-results-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/transform-field-value-into-cell.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/Section/transform-field-value-into-cell.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/get-planned-test-cases.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/get-planned-test-cases.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/internationalize-test-status.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/internationalize-test-status.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/report-cells.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/report-cells.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/report-creator.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/Report/report-creator.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.ts Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/type.ts +5 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/type.ts +20 −0 Go to diff View file
M plugins/testplan/templates/test-plan.mustache +3 −0 Go to diff View file
M plugins/testplan/tests/unit/TestPlanPresenterBuilderTest.php +6 −0 Go to diff View file