Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/components/TestRunList/BulkOperation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down