Open mmonfared opened 1 year ago
When we chain something to chai assertions which is wrong, cypress goes into an infinite loop for that assertions. for example cy.get('input[type=checkbox]').should('not.exits').
cy.get('input[type=checkbox]').should('not.exits')
Cypress should show an error once
it('reproduce', () => { cy.visit('http://wikipedia.com') cy.get("#google").should('not.exits') })
v12.10.0
v12.22.9
Linux Ubuntu 22.04.2 LTS
No response
@mmonfared, thanks for logging! i'm definitely able to reproduce this.
Hi team, any news about resolving this issue?
Current behavior
When we chain something to chai assertions which is wrong, cypress goes into an infinite loop for that assertions. for example
cy.get('input[type=checkbox]').should('not.exits')
.Desired behavior
Cypress should show an error once
Test code to reproduce
Cypress Version
v12.10.0
Node version
v12.22.9
Operating System
Linux Ubuntu 22.04.2 LTS
Debug Logs
No response
Other
No response![Screenshot from 2023-04-20 15-58-10](https://user-images.githubusercontent.com/74588305/233359244-47c05ae1-47a7-48a9-a94c-fb96fa32dfef.png)