-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Problem running Laravel Dusk tests on multiple setup laradock #2795
Comments
Hi 👋 this issue has been automatically marked as |
has anyone was able to fix this issue ??? |
I got the same error.
ChromeDriver 90.0.4430.24 Laravel Framework 7.30.4 Docker version 20.10.6, build 370c289 |
Also, same error with Docker installed |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
Has anyone managed to run dusk? |
Description:
First off, I'm using the multiple setup laradock.
When I run
php artisan dusk
, I get aunknown error: net::ERR_CONNECTION_REFUSED
error.I updated the .env file with
WORKSPACE_INSTALL_DUSK_DEPS
set totrue
and the workspace has been rebuilt with no cache.I changed the
tests/DuskTestCase.php
driver method to use the following options for chrome:(basically I added
--no-sandbox
and--verbose
).If I remove the
--no-sandbox
option. I get a different error (it doesn't even start), I get:Facebook\WebDriver\Exception\UnknownErrorException: unknown error: Chrome failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
,The laravel .env variable
APP_URL
is set correctly.Expected Behavior:
To run the default test successfully
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
WORKSPACE_INSTALL_DUSK_DEPS=true
php artisan dusk
in laradock workspaceStacktrace & Additional info:
The text was updated successfully, but these errors were encountered: