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

Urgent!! Cypress hangs with infinite loop in cy.visit() to a site that upgrade to angular 19 #30924

Open
ruchamafr opened this issue Jan 22, 2025 · 1 comment
Labels
stage: needs information Not enough info to reproduce the issue

Comments

@ruchamafr
Copy link

Current behavior

I do cy.visit() to a site that we used to test by cypress smoothly, but since the site was update to angular 19,
the visit faced an infinit loop problem ,
cypress hangs in cypress visit , I can see in log that the refferences requests happens in aloop again and again

Desired behavior

cy.visit() works with angular 14

Test code to reproduce

cy.visit_infit_lopp.1.mp4

Cypress Version

14.0.0

Node version

20.12.2

Operating System

windows 11

Debug Logs

Other

No response

@ruchamafr ruchamafr changed the title Cypress stuck wuth infinite loop Urgent!! Cypress hangs with infinite loop after cy.visit() Jan 22, 2025
@ruchamafr ruchamafr changed the title Urgent!! Cypress hangs with infinite loop after cy.visit() Urgent!! Cypress hangs with infinite loop in cy.visit() to a site that upgrade to angular 19 Jan 22, 2025
@jennifer-shehane
Copy link
Member

@ruchamafr Are these requests functionally required for the site to work? Or are they just some external reporting only necessary in production? If those requests are not functionally required, could you add the report.govi.gbqofs.io host to blockHosts? Those requests seem to be cluttering up quite a bit of the reporter and it would help to clear it up to see what is happening here.

Does that many requests happen in your application outside of Cypress? I suspect that Cypress is reflecting what is happening in your app. Does your app hang when you go through this same interaction?

Outside of this, it'd be helpful to have a reproducible example for us to investigate whether it is a problem with Cypress or the application.

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants