stable

Clone or download

Read-only

chore: Introduce the function to build the Step Definition field value

This is part of story #23462: export test plan as a docx document No functional change expected here. TestPlan will need to enhance the StepDefinition field content to add the executions results. This technical refactoring add a function that will be called to do that. For now, the function is the same on both apps. Change-Id: If3162ece4029a85e4a0e7352f351ed21b40b4de3

Modified Files

Name
M plugins/document_generation/scripts/lib/docx/src/Artifact/artifact-formatter.ts +28 −36 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/sections-anchor.test.ts +3 −2 Go to diff View file
A plugins/document_generation/scripts/lib/docx/src/Artifact/step-test-definition-generic-formatter.ts +43 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/index.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/type.ts +12 −9 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.ts +17 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TableOfContents/table-of-contents.test.ts +9 −3 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TableOfContents/table-of-contents.ts +6 −3 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/build-list-of-artifacts-content.ts +6 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +2 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.ts +2 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +2 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.test.ts +3 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/backlog-builder.ts +5 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/build-list-of-artifacts-content.ts +6 −5 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.test.ts +3 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.ts +5 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.test.ts +21 −14 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +5 −2 Go to diff View file