-
Description:I tried to run a test as a user but it failed and captured this screenshot. Steps To Reproduce:public function it_can_render_checkout_page()
{
$user = User::factory()->create();
$this->browse(function (Browser $browser) use ($user) {
$browser->loginAs($user)
->visit('checkout')
->screenshot('checkout');
});
} |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
May 22, 2024
Replies: 1 comment 4 replies
-
It's impossible to get this error on Laravel 10. https://laravel.com/docs/11.x/authentication#redirecting-unauthenticated-users You can customise this via |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://packages.tools/testbench-dusk/the-basic.html#supported-database