-
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
Assertions failures on DOM elements show unexpected diffs when they weren't retried #6723
Comments
The code for this is done in cypress-io/cypress#6467, but has yet to be released. |
The code for this is done in cypress-io/cypress#6724, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
When an assertion involving a dom element retried fails, it shows a diff that includes an ugly dom object.
When an assertion involving a DOM element was NOT retried, the assertion would include the very ugly serialized object in stdout reporters.
Note that this doesn't happen if the assertion is retried (with
cy.should()
).Desired behavior:
Failing dom assertions should never show a serialized DOM object diff.
Test code to reproduce
Versions
Cypress 4.1.0
The text was updated successfully, but these errors were encountered: