stable

Clone or download

Read-only

Setup infrastructure to add a traceability matrix when exporting step executions

This is the basics of the traceability matrix. For now, even elements are added without a clear requirements are added to the matrix. Also the current code is slower than it needs to be because we will call `GET /testmanagement_executions/:id` twice for each execution. We consider that anything that point to a test execution is a campaign because we do not have the information to filter it more precisely. This approach should however be good enough since the test execution tracker is mainly a "technical" tracker which is used through the TestManagement UI. For now we only retrieve the campaign ID. Since the feature is not really usable outside of a dev env at this time it is hidden behind a flag. To use it please add the hash `#matrix` to your URL. Part of story #23461: have a tracability matrix in my exported document (test executions) Change-Id: Iac5993f7e8a0fb61235b555f288a866810eb3baa

Modified Files

Name
M plugins/document_generation/scripts/tracker-report-action/po/fr_FR.po +18 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/artifacts-retriever.test.ts +2 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/artifacts-retriever.ts +23 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.ts +11 −1 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-traceability-matrix.test.ts +221 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-traceability-matrix.ts +149 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/rest-querier.test.ts +9 −19 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.test.ts +9 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +83 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.test.ts +1 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +9 −0 Go to diff View file