-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Reconnect to CDP on WebSocket failure #6532
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Good news, I can reproduce this 100% of the time after I put my mac to sleep. Bad news, I can't get Cypress running locally so I cannot check this PR #6542 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified this is functionally working on MacOS. Like Jennifer, I was also able to reliably reproduce this issue on develop
by putting my computer to sleep. No longer had the issue when trying out this PR.
@flotwig I still see this issue frequently after Cypress runs few tests- WebSocket is already in CLOSING or CLOSED state. Cypress version - 4.1.0, Windows, Chrome 80 |
@adilbagi123 that error message won't be detected by this patch, can you please open a new issue with the full error message? Thanks! |
User facing changelog
Additional details
cypress/packages/server/lib/browsers/cri-client.ts
Lines 190 to 191 in 7383782
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?