Missing webresource files while running Cypress which then throws an error (uncaught exception)ReferenceError: Page_ClientValidate is not defined after a click action #26874
Unanswered
Walczynska
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
Uh oh!
There was an error while loading. Please reload this page.
-
Many Webresource files are missing when I try to run my Cypress test. The error (uncaught exception)ReferenceError: Page_ClientValidate is not defined appears when my test tries to click a button. I have tried the following solution


Cypress.on('uncaught:exception', (err, runnable) => {
return false});
but the button still doesn't click. After a review I noticed that the Websource files where the Page_ClientValidate is defined are missing when I run the test in Cypress comparing to when I perform the action manually on the page. (See attached screenshots)
Files on the page when manually clicking on the Save Address button
The files in Cypress:
Even if I pause the test and manually click the button the same error appears.
Beta Was this translation helpful? Give feedback.
All reactions