Screenshot Testing - golden screenshots should be in repo
See original GitHub issueScreenshot Testing - golden screenshots should be in repo according to docs but *.golden.png
is in .gitignore
:
https://github.com/material-components/material-components-web-react/blob/master/.gitignore#L9
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Screenshot testing 101 - Medium
Screenshot testing is the process of rendering a UI component using precomputed or static data and capturing a screenshot of it in isolation....
Read more >Open-Source Screenshot Testing and Reviews - Screenshotbot
A screenshot is just an image, usually a PNG, with associated metadata such as its name and ... You can consider it the...
Read more >Capture screenshots of flaky end-to-end tests - CircleCI
If a test fails, take a screenshot of the webpage and store it somewhere - that way, you can look into the failure...
Read more >screenshot - Take a snapshot of program after every test
Create a repo item of the application (using Ranorex Spy). Drag n Drop the repo item in a recording. Select the "Capture Screenshot"...
Read more >Visual regression testing with Playwright - Qxperts
Comparing screenshots · It checks if there is a golden file (base screenshot to compare against) · It takes a new screenshot ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
golden.png
files are stored in Google Cloud Storage and visible publicly via this URL:where
<golden-screenshot-hash>
is found in the golden.json file, and<path>/<to>/<file>
is the path to the HTML file relative to the/test/screenshot
folder.Check out the newly updated screenshot tests doc for more details!
@schliflo I think we can actually make the images publicly available for download. Then you and others will be able to download the images and run tests against them. You just wouldn’t be able to upload images. But we could do that when/if there are changes that require that step.
Also we noticed that some of the verbiage in the https://github.com/material-components/material-components-web-react/tree/master/test/screenshot/README.md is not accurate. We will update!