Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Failed to load the image #382

Closed
1 task done
beanywilson opened this issue Jan 16, 2024 · 1 comment
Closed
1 task done

[Bug]: Failed to load the image #382

beanywilson opened this issue Jan 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@beanywilson
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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:
- ./db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: testsigma_opensource
LANG: C.UTF-8
LC_ALL: C.UTF-8
ports:
- "3306"
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
healthcheck:
test: out=$$(mysqladmin ping -h localhost -P 3306 -u root --password=root 2>&1); echo $$out | grep 'mysqld is alive' || { echo $$out; exit 1; }
interval: 1s
retries: 120
testsigma_server:
image: testsigmahq/server:v3.0.1 # Replace with testsigmahq/server:v3.0.1-m1 for m1
container_name: testsigma_server
ports:
- "9090:9090"
- "443:443"
volumes:
- ./ts_data:/opt/app/ts_data
depends_on:
mysql:
condition: service_healthy

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 beanywilson added the bug Something isn't working label Jan 16, 2024
@beanywilson
Copy link
Author

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:
- TESTSIGMA_SERVER_URL=https://..com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants