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
3.5.0 cy.click() behavior change caused broken tests #5459
Comments
More Notes from my investigation It seems that this is how it works in 3.4: In actionability.coffee, in the verify method, at line 263: ensureDescendents = (fromViewport) ->
## figure out the deepest element we are about to interact
## with at these coordinates
$elAtCoords = getElementAtPointFromViewport(fromViewport) , what's behind |
I can confirm that the provided repo passes in 3.4.1 and fails in 3.5.0 https://github.com/leimd/cypress-bug-demo |
There's a PR open to fix this here: #5496 |
Thanks @jennifer-shehane ! |
The code for this is done in cypress-io/cypress#5496, but has yet to be released. |
1 similar comment
The code for this is done in cypress-io/cypress#5496, but has yet to be released. |
Released in |
Current behavior:
With the update to 3.5.0, Cypress has stopped working with Select 2 library, when click() is called on the drop down element, no drop down is shown. @rakhid and I have made a sample test in Cypress and recorded video to show the problem.
Video Recording 3.5
Desired behavior:
When triggering click on the drop down element, a drop down should be shown Video Recording 3.4
Steps to reproduce: (app code and test code)
Here is a sample repo that we made to show the bug, there are two branches: cypress-34 and cypress-35 which has Cypress 3.4.0 and Cypress 3.5.0 in their package.json respectively. By checking out the respective branch and run
npx cypress run
, you can recreate the bug.Versions
Cypress 3.5.0
Browser: Chrome & Electron
The text was updated successfully, but these errors were encountered: