-
Notifications
You must be signed in to change notification settings - Fork 321
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
Dusk Tests not running via Sail on Apple M1 Chip #899
Comments
The m1 Chromedriver version isn't shipped by default. Try running |
I tried the |
Forgot that actually doesn't matters as the Sail builds are a Linux environment. It should work normally 🤔 |
Changed to local setup without sail. |
I'm getting the same issue. I logged into the Selenium container and tried running
I tried the prerelease version of the selenium docker image as well as specifying the platform in the docker-compose.yml file, but still getting the same issue. Think this is probably more specific to Selenium than Dusk/Sail though. |
There's further discussion about the selenium docker image not working on Mac M1 chips here. The workaround mentioned in the last comment worked for me (i.e. using the seleniarm image instead). Here's the relevant section of my docker-compose.yml file:
|
Description:
Laravel Dusk Tests do not run, with a clean install on an Apple M1 Chip with Laravel Sail.
Thanks for your help!
Regards
Fabian
Steps To Reproduce:
curl -s "https://laravel.build/dusk-tests?with=mariadb,redis,mailhog,selenium" | bash
cd dusk-tests
./vendor/bin/sail build --no-cache
./vendor/bin/sail up
sail composer require --dev laravel/dusk
sail artisan dusk:install
./vendor/bin/sail dusk
The text was updated successfully, but these errors were encountered: