-
Notifications
You must be signed in to change notification settings - Fork 348
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 fails to connect to devTools after first test #1156
Comments
If the issue is due to Firefox Your log shows you are using Ubuntu, however I could not see which GitHub runner version you are using. There is currently a roll-out of Node.js
is however unlikely to be caused the action. |
I can't reproduce any issue with Firefox There may be a compatibility issue between Firefox |
Thank you for the quick response! I tried using the docker image you recommended, but strangely Cypress complained about firefox not being installed: Output of cypress run step
Not sure if I did something wrong, but I used it like so in the workflow file: ...
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.11.0-chrome-121.0.6167.184-1-ff-123.0-edge-121.0.2277.128-1
steps:
... Should I then just go ahead and raise this issue again in the cypress repo? |
You need to follow the documentation Docker image and add
In the meantime the deployment has included this repo, so I could test with Firefox My advice would be to first add the missing |
There is a reproducible issue using the full set of Cypress examples, so I will log a new issue for this and link it back here. Stand by! |
Now logged under cypress-io/cypress#29172 |
|
Closing as suggested. Thank you! :) |
See [email protected] for a fix for this issue. |
Hi @MikeMcC399, been tracking this issue as currently you can't use this action with firefox without pinning a specific browser container version. Are you planning to make a release of this action in the near future that uses 13.7.1? Thanks |
There is a misconception in your question. The action has no version of Cypress hard-coded in it. To use a specific version of npm install [email protected] --save-dev This will put So no, there are no plans to release the action to use If you need help from the Cypress technical community on using Cypress and / or this Cypress JavaScript GitHub Action, you are free to join the (click on button). |
Ahhh, gotcha, thanks for the help. I was confused by the commit that updated to 13.7.1 in this repo but that makes sense now. |
It's a little confusing because this repo contains the action AND examples for the action. The examples are used to test the action with current versions of Cypress and they serve as learning tools for anybody who would like to fork the repo and run the example workflows themselves. I've just submitted a PR to update the examples once again. This time it is to update to Cypress 13.7.3 which was released yesterday. |
Hello team :)
This issue started to occur yesterday. We test using firefox and yesterday firefox 124 was released, so maybe this is related. Locally everything works fine with firefox 124.
I think this is the most important line of the log below:
I hope this report is useful.
Output of Cypress run step
Cypress: 12.7.4
Github action version: cypress-io/github-action@v5
I tried upgrading to the latest of both, but then I get another error. Also, the combination above worked up to yesterday.
Greetings from Switzerland!
The text was updated successfully, but these errors were encountered: