"Error: cy.intercept is not a function" only in continuous integration #9438
Answered
by
Magenta94
Magenta94
asked this question in
Questions and Help
-
Running Cypress after upgrating from 3.4.1 to 6.0.1 and changing all .route() into .intercept() I get
I can't understand, what could be the problem? |
Beta Was this translation helpful? Give feedback.
Answered by
Magenta94
Dec 3, 2020
Replies: 1 comment
-
Found the problem, our continuous integration didn't take the lastest package-lock.json and package.json committed, so it was using the older Cypress version. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Magenta94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the problem, our continuous integration didn't take the lastest package-lock.json and package.json committed, so it was using the older Cypress version.