-
Notifications
You must be signed in to change notification settings - Fork 108
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
Cypress component test crashes within github actions #703
Comments
Can you post also your GitHub Actions workflow? Note that Node.js |
@MikeMcC399
test_ts action:
integration action:
cypress.config.ts:
Cypress test starting with node version stated: We're waiting for node to have LTS on 20 before we upgrade - Do you think this be the cause of the issue? |
It would only be possible to say that upgrading to a supported version of Node.js would fix your issue if it was a known issue. |
We will be upgrading to Node 20 soon so we can get back to you after this is done and let you know our results. |
The workflow that you posted was incomplete and didn't show the runner or if you had changed Node.js from the default |
@MikeMcC399 I have updated my previous comment with more of the workflow and screen shots of the node version being used. Let me know if there is anything else I can provide. |
Thanks for filling in the details! I was attracted to your issue initially since I'm heavily involved in the maintenance of Good luck with your upgrade! |
Upgrade to node 20 and I am still getting the issue initially reported. |
Logs and screenshots
Versions
3.12.3
13.3.0
ubuntu-latest-8-cores
bash
16.20.2
Instanbul
.babelrc
contains:{"presets": ["next/babel"], "plugins": ["istanbul"]}
window.__coverage__
object? Can you paste a screenshot?.nyc_output
folder? Is there.nyc_output/out.json
file. Is it empty? Can you paste at least part of it so we can see the keys and file paths?Describe the bug
I have tried adding code coverage to our cypress tests. The coverage works locally but when running within github actions it seems the addition of instrumentation causes cypress to crash with the error
There was an error reconnecting to the Chrome DevTools protocol. Please restart the browser.
after the first cypress test tries to run.Link to the repo
Our repo is private and confidential, this will limit some things I can share to help troubleshoot the issue.
The text was updated successfully, but these errors were encountered: