You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the BrowserKit package is still maintained, it hasn't bee the default in Laravel for some time. It would be cool to port all the browser kit tests to HTTP tests and remove the laravel/browser-kit-testing dependency.
The text was updated successfully, but these errors were encountered:
@joedixon Since Laravel HTTP tests do not support tests like this (BrowserKit test).
test('users can manually subscribe to threads', function () {
Thread::factory()->create(['slug' => $slug = $this->faker->slug()]);
$this->login();
$this->visit("/forum/$slug")
->press('Subscribe')
->seePageIs("/forum/$slug")
->see("You're now subscribed to this thread.");
});
I am wondering if you mean to port all BrowserKit to Laravel Dusk ?
While the BrowserKit package is still maintained, it hasn't bee the default in Laravel for some time. It would be cool to port all the browser kit tests to HTTP tests and remove the
laravel/browser-kit-testing
dependency.The text was updated successfully, but these errors were encountered: