Wait for Cypress to finish scrolling #19754
Unanswered
Kycermann
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ^-^
We have Cypress tests for scrolling to the first error in a form. We have to use
cy.wait(1000)
to wait for Cypress to scroll up before we check that a particular part of the page is visible, otherwise the visibility check always passes.The visibility check passes even if Cypress scrolls past the element, so we need to wait for the browser to finish scrolling. Is this currently possible to do please?
Beta Was this translation helpful? Give feedback.
All reactions