-
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
fix: issue with missing chrome browser instance during tests #26882
Conversation
|
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.
Hi @jazpearson . Thank you for opening a PR. Would you be able to add a test in chrome_spec.js to help verify the expected behavior? I'll work on seeing what is going on with the builds for contributors and getting this PR to run in CI
|
||
**Bugfixes:** | ||
|
||
- Attempts to fix an intermittent issue where chrome crashes when connecting to a new spec. Addresses [#24650](https://github.com/cypress-io/cypress/issues/24650). |
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.
Do we know if this actually addresses the issue that you and others are running into it, or is it difficult to tell because it seems to happen sparingly?
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'm not sure at this point because i can't reproduce locally. It only seems to happen in our jenkins build pipeline. So it's more of a hope than a definite fix.
Co-authored-by: Bill Glesias <[email protected]>
Sure thing. I'll do that as soon as i can. |
I'll try and get round to adding the test today or tomorrw...... sorry for the delay |
Sorry, i'm struggling to get any proper time to look at this. |
merge latest cypress
closing in favor of #27116 . see #24650 (comment) more details |
Additional details
Attempts to resolve an issue with cypress that is crippling our tests runs where chrome seems to crash intermittently. This re-creates the chrome instance if it's unexpectedly null. It's a workaround, but nobody seems to know why the instance is null so trying to be pragmatic about it. Also wondering if it's worth trying an experimental feature? Either way - i wanted to see if there was a way we can get this issue fixed.
Steps to test
Really difficult to reproduce, but our cypress tests fail rouhgly 50% of the time now, even with parallelisation.
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?