testsigmahq / testsigma

A powerful open source test automation platform for Web Apps, Mobile Apps, and APIs. Build stable and reliable end-to-end tests @ DevOps speed.
https://testsigma.com
Apache License 2.0
897 stars 187 forks source link

[Bug]: Failed to load the image #382

Closed beanywilson closed 8 months ago

beanywilson commented 8 months ago

Is there an existing issue for this?

What is the current behavior?

When reviewing the results of a test plan that was looking at the user experience from a web page the screenshot area only ever shows the following message Failed to load the image. The run is successful and in the filestore, there are jpeg images from the run each time it runs.

image

I cannot see anything in the logs that shows a permission error and also the files are being written.

This is the 3.0.1 community version running on Docker on Ubuntu 22.04

### docker yml file

version: "3.9" services: mysql: image: mysql:5.7 # Replace with mysql:8.0.32 for m1 platform: linux/x86_64 # Replace with linux/arm64/v8 for m1 container_name: testsigma_mysql restart: always volumes:

Is there anything else I can do, check or amend?

What is the expected behavior?

Display a screenshot for each of the steps of the test plan once run.

Steps To Reproduce

Click on any step of the test plan that has just been executed and see the resultant screen shot. screenshot

Version

Testsigma Community Edition

beanywilson commented 8 months ago

Resolved - I was using a custom domain on the CE edition - when I set the environment variable in the YML file it now works correctly and I can download exports properly too. I added

environment: