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

Leaving Cypress open for a long time or putting computer to sleep results in missing command logs #20618

Closed
mjhenkes opened this issue Mar 15, 2022 · 2 comments · Fixed by #20916
Assignees
Labels
topic: cy.origin Problems or enhancements related to cy.origin command type: bug

Comments

@mjhenkes
Copy link
Member

mjhenkes commented Mar 15, 2022

Leaving Cypress open for a long time or putting one's computer to sleep will result in command logs missing when using a Chromium-based browser.

Certain command logs like download and network events will no longer appear after running tests without closing and re-opening the browser

In production Cypress, this is only a visual/informational loss, but in the multi-domain feature work, this results in tests failing (after a page load timeout, which is 60s by default, so it seems like the test is hanging).

@mjhenkes mjhenkes added the topic: cy.origin Problems or enhancements related to cy.origin command label Mar 15, 2022
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: work in progress labels Apr 5, 2022
@chrisbreiding chrisbreiding changed the title [Multi-domain]: Leaving Cypress open for a long time will eventually result in cross domain errors Leaving Cypress open for a long time or putting computer to sleep results in missing command logs Apr 5, 2022
@chrisbreiding chrisbreiding added type: bug topic: cy.origin Problems or enhancements related to cy.origin command and removed topic: cy.origin Problems or enhancements related to cy.origin command labels Apr 5, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 5, 2022

The code for this is done in cypress-io/cypress#20916, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot removed the stage: needs review The PR code is done & tested, needs review label Apr 5, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 11, 2022

Released in 9.5.4.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.5.4, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: cy.origin Problems or enhancements related to cy.origin command type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants