question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve Visual Testing Doc

See original GitHub issue

Original 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 versus cypress 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:open
  • Created 4 years ago
  • Reactions:9
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
olufunbicommented, Oct 28, 2021

I am experiencing the same issue where screenshots were taken using cypress open and the screenshots taken using cypress 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 use cypress open. This can be a pain especially when the project is a large one.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found