diff --git a/README.md b/README.md index 2f0c9de0..c07e71d1 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Image download - - If you want to use image download feature in test runs, you have to have the files in backend imageUploads folder to a folder in this project under public/imageUploads. This can be achieved via manual copy, docker volume mapping to this project folder etc. + - If you want to use image download feature in test runs, you have to have the files in backend imageUploads folder to a folder in this project under public/static/imageUploads. This can be achieved via manual copy, docker volume mapping to this project folder etc. ## Local HTTPS config diff --git a/src/components/TestRunList/BulkOperation.tsx b/src/components/TestRunList/BulkOperation.tsx index a4d6b77b..ae69626f 100644 --- a/src/components/TestRunList/BulkOperation.tsx +++ b/src/components/TestRunList/BulkOperation.tsx @@ -129,7 +129,7 @@ export const BulkOperation: React.FunctionComponent = () => { testRunService.getDetails(id.toString()) .then( (e) => { - urlsToDownload.push({ "download": "imageUploads/" + e.imageName, "filename": e.name }); + urlsToDownload.push({ "download": "static/imageUploads/" + e.imageName, "filename": e.name }); //Call getFile function only when all images names are pushed into the array. if (index === ids.length - 1) { testRunService.getFiles(urlsToDownload);