Skip to content
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

Add Firefox user id 1001 to README common problems #871

Closed
MikeMcC399 opened this issue Mar 30, 2023 · 2 comments
Closed

Add Firefox user id 1001 to README common problems #871

MikeMcC399 opened this issue Mar 30, 2023 · 2 comments
Labels
documentation 📝 triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.

Comments

@MikeMcC399
Copy link
Collaborator

This is a suggestion to add a note in README: Common problems to describe the issue about accessing the Firefox browser in a Docker image.

"In order to run Firefox, you need to use non-root user (Firefox security restriction)."

"Note: the magical user id 1001 works because it matches permissions settings on the home folder, see issue #104"

In the meantime the Firefox example in https://github.com/cypress-io/github-action/blob/master/.github/workflows/example-firefox.yml does not use a Docker container anymore. Firefox was added to the GitHub runner images in March 2020, so it is no longer necessary to resort to using Firefox in a container as far as GitHub is concerned. Using Firefox from a container made the test set up and conditions for the GitHub Action unnecessarily complex.

So now there is no Cypress README document which mentions about using the magical user id 1001 to access Firefox in a container. For completeness, it should probably be described in this repository.

@alexjyong
Copy link
Contributor

Per the request here, I'm going to open a PR to make this a reality. cypress-io/github-action#938 (comment)

@MikeMcC399
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📝 triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
Projects
None yet
Development

No branches or pull requests

4 participants