When I try to execute the Dusk tests in Laravel Homestead I get the “unknown error: cannot find Chrome binary” error.
Tag: Dusk
Execute and test only one method with Laravel Dusk
When you are running Laravel Dusk tests from the terminal, with the command
$ php artisan dusk
sometimes you need to execute and test only one method. You can do it with the “–filter” parameter and the name of the method:
$ php artisan dusk --filter testUserInsertBlankSpacesAndThePasswordDoesNotChange
Using Laravel Dusk with Vagrant Homestead
If you are using Laravel Homestead and you want to use Laravel Dusk to test your application, you can find some problems.