Is there a way to turn off some page events that falsely report the page has failed to load. #19992
kgieskieng
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Occasionally when a test runs the first page loads and selects a button. On the second page I often get the following error but the page is complete and I can interact with it.
From my console in Chrome I do not see the same issue. The test looks like its waiting on a third party tracking event. Is there a way to limit the kinds of events that cypress with wait for?
Timed out after waiting 60000ms for your remote page to load.
Your page did not fire its load event within 60000ms.
You can try increasing the pageLoadTimeout value in cypress.json to wait longer.
Browsers will not fire the load event until all stylesheets and scripts are done downloading.
When this load event occurs, Cypress will continue running commands.
Beta Was this translation helpful? Give feedback.
All reactions