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

cy.visit() performance degradation after upgrade from 7.1 (persists in 8.3) #17759

Closed
amacgregorhumi opened this issue Aug 17, 2021 · 5 comments
Labels
stage: needs information Not enough info to reproduce the issue stale no activity on this issue for a long period

Comments

@amacgregorhumi
Copy link

Current behavior

We're using Cypress extensively to test our application, and we noticed some performance issues and odd pageLoadTimeout error that randomly started happening, after several days of back and forth; support pointed towards #16671

While upgrading to 8.3.0 seems to have marginally help with this issue becoming less frequent; there is still a pretty high chance of occurrence; as far as we have been able to tell the page in question is loaded but the load event was not captured by cypress.

Our test suite is currently using chromium 91.

Desired behavior

cy.visit() should work as expected and load the page without timing out.

Test code to reproduce

Cypress Version

8.3.0

Other

No response

@jennifer-shehane
Copy link
Member

What’s the last known version that worked without the perf/timeouts?

can you provide a reproducible example? Even one emailed to support@cypress.io?

Is this happening locally or only in a specific CI environment?

@amacgregorhumi
Copy link
Author

Hi Jennifer,

What’s the last known version that worked without the perf/timeouts?

The last version known to work for us was 7.1

can you provide a reproducible example? Even one emailed to support@cypress.io?

We have provided support with additional information including debug logs #2517

Is this happening locally or only in a specific CI environment?

Right now it seems to be specific to Github Actions or at least where is happening more frequently.

@jennifer-shehane jennifer-shehane changed the title cy.visit() performance degradation after upgrade to 8.3.0 cy.visit() performance degradation after upgrade from 7.1 (persists in 8.3) Aug 17, 2021
@jennifer-shehane
Copy link
Member

@amacgregorhumi I looked over the debug logs and don't see anything obvious that would be causing this to time out regularly. Have you tried increasing the timeout? Does it ever resolve if given more time?

I think we'll need a way to run and see the situation though to track down why the load is hanging.

Just to confirm, 7.1.0 is working but 7.2.0 has the issue? Tracking down the exact version where the issue begins would also be helpful in tracking down the cause. Thanks.

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label May 15, 2023
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
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 stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

3 participants