stable

Clone or download

Read-only

Display details of execution comment in a modal

The comment that has been written for an execution (when marked as passed/failed/blocked/notrun) is now truncated to not take too much place. There is a button that displays the full comment in a modal. To test it, you might need to use the artifact view of the execution to: * switch the status of the execution * enter HTML content in results * DnD image in this content * (don't forget to set the time field!) => Go back to the TTM UI of the test execution: * The text is truncated * The button (always present) displays a modal to reveal the full comment. Technical note -------------- In order to not have an image that breaks the modal layout if it is too large, there is now a max-width 100% on all img tags. We had to do it manually in various places like in git. This is now the default in TLP (BurningParrot only). Part of story #14735 include images in test execution comment box Change-Id: Ib11cb53fab4df9caf00ce3bbb6370470b5fc5589

Modified Files

Name
M plugins/git/themes/BurningParrot/repository/gitphp/_blob.scss +0 −4 Go to diff View file
M plugins/git/themes/BurningParrot/repository/gitphp/_tree.scss +0 −4 Go to diff View file
M plugins/testmanagement/package-lock.json +266 −0 Go to diff View file
M plugins/testmanagement/package.json +5 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/po/fr.po +8 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail-controller.js +18 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail.tpl.html +7 −1 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/execution-details-modal-controller.js +30 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/execution-details-modal.tpl.html +33 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/truncate.js +57 −0 Go to diff View file
A plugins/testmanagement/scripts/testmanagement/src/execution/truncate.test.js +52 −0 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_current-execution.scss +14 −0 Go to diff View file
M src/themes/tlp/src/scss/_reset.scss +4 −0 Go to diff View file