-
Notifications
You must be signed in to change notification settings - Fork 381
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
Update README.md to talk about non-root user for firefox per #938 in the github-action repo #900
Conversation
|
I suggest to include the error messages into your text: Browser: firefox was not found on your system or is not supported by Cypress. |
Good idea. I'll add that here in a bit.
…On Wed, Jun 14, 2023, 12:37 PM Mike McCready ***@***.***> wrote:
@alexjyong <https://github.com/alexjyong>
I suggest to include the error messages into your text:
Browser: firefox was not found on your system or is not supported by
Cypress.
Can't run because you've entered an invalid browser name.
—
Reply to this email directly, view it on GitHub
<#900 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJWCVDE3IHPBFKHXHEJBJLXLHSE3ANCNFSM6AAAAAAZGOKSTE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@MikeMcC399 added in the error message per your request. :) |
I couldn't find documentation for the GitHub runner internals, so I have just been experimenting and looking at the code to find out a bit more. |
Do you know if this issue only appears when using a Cypress Docker container with GitHub Actions or does it also happen with other CI providers which can work with Docker containers? I am slowly beginning to understand it a bit better! On GitHub Actions if the default
It does not pass this message on, and instead reports:
I would now like to submit a bug report against Cypress for this incorrect error message. Edit: I changed it to a feature request instead, which is just a question of priority. |
|
Not sure. I've only tried it with Cypress Docker and Github Actions. But I presume it would happen with other CI providers as well. |
Any updates needed from me on this? |
Co-authored-by: Mike McCready <[email protected]>
Added in your suggestion @MikeMcC399 |
I've been looking at this in the background and Firefox is quite curious. Sometimes it will actually run under a root user in a Docker container! The advice to add the It should work on cypress/base:latest however due to issue #893 Edit: The various tests I did are in https://github.com/MikeMcC399/cy-firefox-docker I think it is fine to go ahead with this PR. It should help Firefox / Docker users. |
Hello! Anything else needed from me on this? |
Per the discussion here
And here
I have been asked to move my changes from the first link into this PR here to help others troubleshoot potential issues when using firefox in these images.