-
Notifications
You must be signed in to change notification settings - Fork 122
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
ChromeHeadless running with docker #189
Comments
Here's the error
|
I think your issue is that what you have in the Have set it up mine this way and works for me: Dockerfile:
Then in karma.conf.js:
|
It seems the main missing part in the configuration is |
Closing this as the suggested configurations seem to fix the problem. |
Is the watch feature supposed to work with this? It doesn't auto reload tests upon file save - like it does with Standard Chrome |
@Louspirit I'm not aware of launchers having any influence on that behaviour, whether Firefox or Chrome, whether Headless or otherwise. Can you confirm that you are using the default |
@Krinkle indeed I am using a custom launcher because I am inside a docker container and running without --no-sandbox flag is not supported. This way I am able via port forward to access the karma screen. Only that watch is not working (maybe it's because of the --no-sandbox flag). |
Getting a timeout error when running ChromeHeadless with karma inside a docker container. This is an Angular cli project with angular 6 with karma 3.0. We run Karma through a makefile script that uses docker-compose. Here's the Karma config file.
The text was updated successfully, but these errors were encountered: