New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress.io 3.1.3 breaks by legacy jQuery library #2927
Comments
@kdeng What version of jQuery is the page using? Could you provide a reproducible example for us to run locally? |
@jennifer-shehane I have created a demo to reproduce the issue locally. Please checkout the demo from https://github.com/kdeng/cypress-bug-demo. Cheers. |
The repo errors for me during
|
@jennifer-shehane Sorry, please try to checkout again. I just fix the issue. Thanks for your time. |
I opened a PR against your example to help simplify the problem. There is now just a script including a static JS file. If I replace the contents of the static header.js file with standard jquery 2.2.4, the test passes - so I'm assuming it is something extra in that file that is causing the test to error. |
Yes, the original frontend developer was using I have created another branch Cheers |
The interesting thing is the test works properly if I downgrade to cypress 3.1.2. |
Same problem here with 3.1.3 |
I've opened a PR to hopefully fix this issue if anyone wants to check against this local branch. Needs tests. #3084 |
@jennifer-shehane How can I properly install your changes on my local environment? I have tried to install by using |
do we have any updates on this? |
Have you tried 3.1.5?
…Sent from my iPhone
On Feb 13, 2019, at 08:49, Farzad Soltani ***@***.***> wrote:
do we have any updates on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I am still getting this error on 3.1.5 |
@bahmutov Yes, I installed the latest version initially and ran into this error. Downgrading to 3.1.2 prevented the error from happening |
Also, downgrading to |
This issue should be fixed in 3.1.6 |
Thanks @jennifer-shehane |
I am experiencing this error as well, anxious to get to 3.1.6 @jennifer-shehane |
Does the team have a definite release date for 3.1.6? |
The code for this is done in cypress-io/cypress#3084, but has yet to be released. |
Released in |
When testing a web page with old version jQuery, Cypress.io 3.1.3 breaks, and complain a TypeError as below.
The trackingstack is here.
But, when I downgrade to version 3.1.2, and all tests work properly with no issues at all.
Could someone please help to have a look at this issue? Thanks
The text was updated successfully, but these errors were encountered: