Gazo-san-report is a report tool for visual testing between two URLs. It will create an HTML report as the output. Or show the HTML report on the local server by nginx using port 80.
It's useful for checking web applications between different environments. For example, checking differences between development environment and production environment.
Start docker container by passing the target URLs in environment variables. The report will be created in the directory you have mounted.
docker run -it -d --rm -v `pwd`:/report --env BaseURL="https://www.google.com/?hl=ja" --env CompareURL="https://www.google.com/?hl=en" aa332266/gazo-san-report:latest
By passing the argument local-server
and expose the port 80.
docker run -it -d -p 8080:80 --env BaseURL="https://www.google.com/?hl=ja" --env CompareURL="https://www.google.com/?hl=en" aa332266/gazo-san-report:latest local-server
Check the report.html
or check on the local server.
Difference detects by Gazo-san
Web screenshot by puppeteer
https://hub.docker.com/repository/docker/aa332266/gazo-san-report