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

Unable to run tests as Chrome Headless throws errno Operation not permitted error #210

Open
sorenjohanson opened this issue Oct 9, 2024 · 2 comments · May be fixed by #212
Open

Unable to run tests as Chrome Headless throws errno Operation not permitted error #210

sorenjohanson opened this issue Oct 9, 2024 · 2 comments · May be fixed by #212

Comments

@sorenjohanson
Copy link
Contributor

sorenjohanson commented Oct 9, 2024

When trying to run yarn test, Chrome Headless (which was previously installed as root in Dockerfile) throws an errno = Operation not permitted error:

Chrome Headless error in console

May be a local error similar to #209, but need to test it further. I'm running yarn test as user node.

@sorenjohanson
Copy link
Contributor Author

This is caused by Chrome Headless missing the --no-sandbox flag in karma.conf.js.

@sorenjohanson sorenjohanson linked a pull request Oct 10, 2024 that will close this issue
@JannikStreek
Copy link
Member

JannikStreek commented Nov 20, 2024

yarn test passes on a fresh setup for me without any errors. How can I reproduce the problem?

Chrome Headless 120.0.6099.224 (Linux aarch64): Executed 37 of 37 SUCCESS (2.993 secs / 2.94 secs)
TOTAL: 37 SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants