stable

Clone or download

Read-only

feat: Export traceability matrix of campaign in docx

Backlog and tests section are kept empty for now to not clutter to much the review. It is already quite big: nearly all docx generation from testplan has been moved to testmanagement since the document content is the same. The only difference is the content of the cover page to display the current milestone (and its parent) for testplan and the current campaign for testmanagement. We are forced to use our own gettext in document generation since gettext provider in testmanagement (AngularJS) and testplan (VueJS) does not share the same interface. No functional change in testplan document generation is expected. Part of story #23494: export test campaign as docx Change-Id: Ia4427dc01437b0d37e43ca3e473ee6cd1f979ede

Modified Files

Name
M plugins/testmanagement/package.json +3 −0 Go to diff View file
M plugins/testmanagement/pnpm-lock.yaml +10 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/po/fr.po +80 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/download/download-campaign-as-docx.test.ts +5 −8 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/campaign/download/download-campaign-as-docx.ts +4 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-header/execution-list-header-controller.js +0 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.test.ts +30 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.ts +16 −1 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/table-of-contents-test-samples.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/table-of-contents.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/table-of-contents.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/toc-field-instruction.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/toc-field-instruction.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/base-elements.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/build-list-of-artifacts-content.ts Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.test.ts +10 −7 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.ts +11 −10 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/document-properties.ts +32 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts +11 −19 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.ts +85 −15 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/header-footer.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/html-styles.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/internationalize-test-status.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/internationalize-test-status.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-compute-requirement-status.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-compute-requirement-status.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/execution-querier.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/execution-querier.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/executions-for-campaigns-retriever.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/executions-for-campaigns-retriever.ts Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Reporter/report-creator.ts +21 −6 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/traceability-matrix-creator.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/traceability-matrix-creator.ts Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/download-export-document.test.ts +9 −8 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/download-export-document.ts +20 −8 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/init-gettext-for-document-export.ts +26 −0 Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/document-properties.test.ts Go to diff View file
R plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/trigger-blob-download.ts Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/type.ts +62 −10 Go to diff View file
M plugins/testplan/scripts/test-plan/po/fr_FR.po +0 −75 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.vue +2 −1 Go to diff View file
D plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.test.ts +0 −72 Go to diff View file
D plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Table/table-builder.ts +0 −103 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.test.ts +1 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.ts +5 −1 Go to diff View file
D plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/document-properties.ts +0 −158 Go to diff View file
D plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts +0 −74 Go to diff View file
D plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.ts +0 −135 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.test.ts +2 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +7 −9 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/step-test-definition-formatter.test.ts +2 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/step-test-definition-formatter.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.test.ts +3 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.ts +17 −7 Go to diff View file
M plugins/testplan/scripts/test-plan/src/type.ts +2 −70 Go to diff View file