dusk
How to create laravel dusk test from registration page?
create laravel RegisterTest class using below artisan command: Now run below command:
Facebook\WebDriver\Exception\UnknownErrorException: unknown error: net::ERR_NAME_NOT_RESOLVED
This error is encountered if you try to run php artisan dusk command To fix this error you will need to update .env file APP_URL parameter to your local server url
How to install laravel dusk to do browser testing for your application?
Laravel Dusk provides an easy-to-use browser automation using chromedriver installation. Install composer dependency for your application Now execute below artisan command Set the APP_URL env variable in the .env file. This value should match the URL you use to access your application in a browser. Create a test Run test This will run the test …
How to install laravel dusk to do browser testing for your application? Read More »