Improve Visual Testing Doc
See original GitHub issueOriginal comment here: https://github.com/cypress-io/cypress/issues/3324#issuecomment-542414532
- We need to clearly communicate best practices around performing screenshot comparison.
- We need to communicate why the screenshot size is different from the viewport size.
- We need to communicate how screenshots are different when in
cypress open
versuscypress run
- We need to communicate how scaling is handled and not handled.
- When do you screenshot - how do you make sure everything is loaded https://github.com/cypress-io/cypress/issues/5275
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:7 (1 by maintainers)
Top Results From Across the Web
5 Techniques to Increase Visual Coverage | BrowserStack
5 Techniques to Increase Visual Coverage · 1. Using Visual Testing Tools · 2. Decoupled Testing at varied Business Levels · 3. Focus...
Read more >Guide To Visual Regression Testing With Visual Testing Tools
This Comprehensive Guide Explains All About Visual Regression Testing. Also includes Review of Visual Testing Tools like Applitools, Percy, ...
Read more >gOOD pRACTICES IN VISUAL iNSPECTION - FAA
Documentation design for error reduction ... In order to apply human factors principles to improving visual inspection reliability, we need to consider the ......
Read more >What is Visual Testing? - Applitools
Visual testing provides testers evidence that their applications ... how AI-powered automated visual testing improves visual test results by ...
Read more >Visual testing basics - Percy Docs
We find that testing both pages and components works best. The earlier you can catch a visual diff in your team's workflow the...
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
I am experiencing the same issue where screenshots were taken using
cypress open
and the screenshots taken usingcypress run
have different sizes. Reading through this thread, I see how that is possible, however, as earlier stated, there needs to be proper documentation about this(Visual testing) in general so they do’s and dont’s are made crystal clear.My predicament now is, I have to set different baselines when I want to use
cypress run
and then delete all baseline and set new ones each time I usecypress open
. This can be a pain especially when the project is a large one.For now see this presentation: