Laravel - Browser Tests - Running Tests

To run your browser tests, execute the dusk Artisan command:

    
    php artisan dusk
	

If you had test failures the last time you ran the dusk command, you may save time by re-running the failing tests first using the dusk:fails command:

    
    php artisan dusk:fails
	

The dusk command accepts any argument that is normally accepted by the PHPUnit test runner, such as allowing you to only run the tests for a given group:

    
    php artisan dusk --group=foo
	
If you are using Laravel Sail to manage your local development environment, please consult the Sail documentation on configuring and running Dusk tests.