Screenshot difference due to page scroll #287
Unanswered
JulioPazini
asked this question in
Q&A
Replies: 1 comment
-
Hey! Do you still have a reproduction scenario for this one? As far as I remember, whenever I've encountered a case like this I was able to force scroll position using cypress apis - like scrollTo. Have you tried that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having this problem where sometimes the screenshot is a few pixels off because of the scroll of the page. Here's the images for comparison:
Original image:

Image after running the test:

Diff between them:

Sometimes it passes without a problem. Does anybody know a way to make sure the screenshot is always taken in the same place? or maybe I'm missing something?
Beta Was this translation helpful? Give feedback.
All reactions