-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 fails to uncheck all checked checkboxes #26208
Comments
I reproduced with the repository provided. Definitely a bug, we should fix this. Would you be interested in making a PR by any chance? |
I'd love to, but I wouldn't know where to start. 🤷 |
If you'd like to give it a try
You can let me know if you need more help/tips - I don't know exactly how to fix this off the top of my head, but that should point you in the right direction. |
I've created a PR with the failing test so far. After some investigation, I think the issue stems from changes made in #24628. Specifically the changes that requery the DOM: cypress/packages/driver/cypress/e2e/commands/actions/check.cy.js Lines 101 to 120 in 9ae911f
So if
|
Ahh #24628 is a likely candidate for a breaking change, it rejiggered the internals quite a bit. Great detective work. |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
I'm with cy13 and still facing this issue |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
Currently running the following command only unchecks some of the checkboxes:
Desired behavior
Cypress should uncheck all checkboxes, as it did in at least v10.2
Test code to reproduce
Here is the failing code:
And a test repo:
https://github.com/mhssmnn/cypress-issue-checkboxes-repro
Cypress Version
12.7.0
Node version
v18.11.0
Operating System
macOS 12.3.1
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: