Skip to content
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

Infinite error loop when the chainer is not found #26551

Open
mmonfared opened this issue Apr 20, 2023 · 2 comments
Open

Infinite error loop when the chainer is not found #26551

mmonfared opened this issue Apr 20, 2023 · 2 comments
Labels
E2E Issue related to end-to-end testing Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. type: bug

Comments

@mmonfared
Copy link

mmonfared commented Apr 20, 2023

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

it('reproduce', () => {
    cy.visit('http://wikipedia.com')
    cy.get("#google").should('not.exits')
})

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

@mjhenkes
Copy link
Member

@mmonfared, thanks for logging! i'm definitely able to reproduce this.

@mjhenkes mjhenkes added type: bug Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. E2E Issue related to end-to-end testing labels Apr 21, 2023
@mjhenkes mjhenkes removed their assignment Apr 21, 2023
@mmonfared
Copy link
Author

Hi team, any news about resolving this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Issue related to end-to-end testing Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. type: bug
Projects
None yet
Development

No branches or pull requests

2 participants