cypress-docker-images
cypress-docker-images copied to clipboard
Cannot find firefox browser with cypress/included:10:4:0 inside github workflows
Currently, when importing the cypress/included:10:4:0
docker image into github workflows, firefox cannot be found. I have tried a few different things, including moving firefox to a directory in the $PATH
, but haven't had luck. Running the docker image with the daemon locally works fine. It's just when used inside github workflows.
I have a reproduction that includes the actions as well as commits for attempted work arounds
I can confirm this is also happening to me when using the --browser firefox flag. I thought it was specific to this error: https://github.com/cypress-io/cypress/issues/23326 but after changing to chrome, it appears the same error is present, but the tests actually start running.
We're seeing the same issue with cypress 9.6.1
on all of the cypress/browser
images I've tried, which includes:
-
cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
-
cypress/browsers:node16.14.2-slim-chrome103-ff102
-
cypress/browsers:node16.13.2-chrome100-ff98
All of them are getting this error (minus "edge" for the non-edge images), same as in @AtofStryker's reproduction repo:
Can't run because you've entered an invalid browser name.
Browser: firefox was not found on your system or is not supported by Cypress.
Cypress supports the following browsers:
- electron
- chrome
- chromium
- chrome:canary
- edge
- firefox
You can also use a custom browser: https://on.cypress.io/customize-browsers
Available browsers found on your system are:
- chrome
- edge
- electron
Duplicate of https://github.com/cypress-io/cypress-docker-images/issues/363