stable

Clone or download

Read-only

Do not display images in truncated text

In a campaign, mark a test as failed with a comment box containing an image. * If there is only image and no text, then the truncated text displays a placholder text «A screenshot has been attached» * Else it removes the image from the truncated text Part of story #14735: include images in test execution comment Change-Id: Ie49031e9d0a45f87fc20d3928c185722ae960bbd

Modified Files

Name
M plugins/testmanagement/package-lock.json +5 −0 Go to diff View file
M plugins/testmanagement/package.json +1 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/po/fr.po +4 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail-controller.js +9 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/truncate.js +16 −5 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/truncate.test.js +33 −5 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_current-execution.scss +0 −5 Go to diff View file