You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for this is done in cypress-io/cypress#6467, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
The code for this is done in cypress-io/cypress#6724, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
brian-mann
changed the title
Diff should not be shown when expected or actual is a dom element
Assertions failures on DOM elements show unexpected diffs when they weren't retried
Mar 30, 2020
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: