Browser Testing With Laravel Dusk
Laravel Dusk provides an expressive testing API and browser automation for your apps. In terms of testing, it provides the closest thing to an actual user interacting with your application in a browser. These tests are typically referred to as end to end tests or browser tests. In this series, we’ll prepare a series of Dusk tests for a standard blog application.
Series episodes
Learn the Basics
12m 37sInstall Laravel Dusk and write browser tests for Laravel's auth scaffolding: hands-on setup, assertions, and practical E2E basics.
Post Tests
15m 9sTest blog post CRUD with Laravel Dusk: verify posts list, create, edit, and delete workflows to ensure reliable browser-driven functionality.
Pages and Components
11m 31sUse Laravel Dusk Pages and Components to DRY up tests, remove repeated code, and simplify browser interactions.
Testing Your JavaScript
9m 22sTest front-end JavaScript with Laravel Dusk: simulate clicks, keyboard shortcuts, and interactions to catch bugs with reliable end-to-end tests.




