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
When an assertion is retried (using cy.should()) and fails, it does not show a diff in the stdout. If the same assertion is not retried, it will show the diff.
Desired behavior:
Failing assertions should show diffs in the stdout regardless of whether they are retried or not.
Test code to reproduce
This works properly and shows what the diff should look like.
it('non-dom - fails without retry',()=>{expect([]).to.eql([1,2,3])})
This demonstrates the issue.
it('non-dom - fails with retry',()=>{cy.wrap([]).should('eql',[1,2,3])})
Versions
Cypress 4.1.0
The text was updated successfully, but these errors were encountered:
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.
Current behavior:
When an assertion is retried (using
cy.should()
) and fails, it does not show a diff in the stdout. If the same assertion is not retried, it will show the diff.Desired behavior:
Failing assertions should show diffs in the stdout regardless of whether they are retried or not.
Test code to reproduce
This works properly and shows what the diff should look like.
This demonstrates the issue.
Versions
Cypress 4.1.0
The text was updated successfully, but these errors were encountered: