stable

Clone or download

Read-only

feat: Display artifacts content in test report

Instead of displaying a list of artifact titles for the backlog section, we now display the full artifact, like it is done in tracker report document generation. If backlog items have artifact link to another backlog itemin the generated document, then an anchor is used to facilitate navigation. No functional change in tracker report document generation. Part of story #23462: export test plan as a docx document Change-Id: I650d0e1b55d8dee571728bd89d29ee54353a4d00

Modified Files

Name
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifacts-structure-retriever.test.ts +9 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifacts-structure-retriever.ts +6 −1 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/type.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/artifacts-retriever.ts +5 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/rest-querier.test.ts +3 −0 Go to diff View file
M plugins/testplan/include/TestPlanPresenter.php +16 −0 Go to diff View file
M plugins/testplan/include/TestPlanPresenterBuilder.php +9 −31 Go to diff View file
M plugins/testplan/include/testplanPlugin.php +5 −1 Go to diff View file
M plugins/testplan/package.json +1 −0 Go to diff View file
M plugins/testplan/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/index.ts +7 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.vue +9 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/TableOfContents/table-of-contents.test.ts +2 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.test.ts +34 −9 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.ts +43 −35 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.test.ts +2 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/document-properties.ts +9 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts +2 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.ts +5 −1 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/memoize.test.ts +53 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/memoize.ts +46 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.test.ts +135 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +67 −4 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.test.ts +3 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/download-export-document.ts +2 −1 Go to diff View file
A plugins/testplan/scripts/test-plan/src/pofile-shim.d.ts +24 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/type.ts +3 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/type.ts +6 −1 Go to diff View file
M plugins/testplan/templates/test-plan.mustache +2 −0 Go to diff View file
M plugins/testplan/tests/unit/TestPlanPresenterBuilderTest.php +29 −1 Go to diff View file