stable

Clone or download

Read-only

feat(ttm): Handle upload errors

part of: story #22576 have multiple files uploaded with comments How to test: - Add `+ "fail" in execution-attachments-controller::92 - Now try to upload a file --> The upload fails --> The attachment is displayed in warning - click on the warning icon --> a popover appears, displaying the error - click on "Got it" --> The attachment is removed from the list - Save the comment --> The attachment has not been added - Upload another file --> The attachment is displayed in error - Save the comment --> The attachment has not been added Change-Id: I162413959d3f732e5cb414a318b1464a4781204b

Modified Files

Name
M plugins/testmanagement/scripts/testmanagement/po/fr.po +6 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.js +9 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.test.js +16 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.js +72 −21 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.test.js +67 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-uploader.js +2 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments.tpl.html +38 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-detail-controller.test.js +6 −2 Go to diff View file
M plugins/testmanagement/themes/BurningParrot/css/includes/_current-execution.scss +9 −0 Go to diff View file