Это видео недоступно.
Сожалеем об этом.
Laravel Dusk Tutorials #2 : Test Authentication (Login and Logout) using Dusk
HTML-код
- Опубликовано: 14 авг 2024
- In this tutorial we will cover how we can assert the following using Laravel Dusk
- Assert that user can login into the application.
- Assert that user can logout of the application.
For Full Laravel Dusk Course - You can enroll to my course on Udemy www.udemy.com/... (60% discount using this link)
Good demo. Nice work..
clear explanation thanks bro
how about using loginAs() with sanctum as guard? is that possible? Reading through the source code I noticed that it only supports session authentication, as the login() at Laravel\Dusk\Http\Controllers\UserController show this code: Auth::guard($guard)->login($user);
//login() is only available in SessionGuard
Thank you