-
Notifications
You must be signed in to change notification settings - Fork 49
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:run failing on github actions pipeline #113
Comments
The problem seems not to be related exclusively with github actions, it's related with running cypress thought the cypress:run task on linux. Mac OS has the "tail -r" option, linux don't:
Linux Debian / Ubuntu 20.04:
|
Nothing's jumping out at me as an apparent cause, at least as it pertains to this gem itself. |
Thank you @searls, I will continue to debug this. Yesterday I discovered that if I run the cypress/github-actions before the rake cypress:run, it's works! So I guess that the cypress action knows how to set some aspect of the environment that is lacking when I'm running cypress:run in github action virtual environment. I'm trying to find what the problem is. |
@searls Trying to read the gem code and check if there is a wait-on method to avoid cypress run start when Rails server is not ready for requests yet ( didn't finish the boot process ). Is there anything like this? |
Hmm, I don't think so. Seems feasible as an issue, because every Rails app I test with this gem boots much much faster than Cypress itself does |
@searls In fact I have found many issues on cypress github repository with the same > Error: ESOCKETTIMEDOUT on many CI/CD solutions. codebuild, circle CI and github actions. I'm still searching to find why this is happening. |
Thank you all for all the work made on this gem. It was time saving coming from Rspec/Capybara.
Do you have any idea why I'm getting this "tail -r" error when running in github actions pipeline?
I didn't get this error when using github.com/cypress-io official github action. But I trying away to generate simplecov coverage report and it didn't works using the cypress github action. I guess it is because it is not terminating the rails server process in the end of the tests.
Github actions running results:
Github actions Cypress:
Running on ubuntu:20.04
The text was updated successfully, but these errors were encountered: