How can I avoid pest tests failing if I install frontend panel with the id dashboard
Install a new Laravel app, with Jetstream as the starterkit and pest. Install Filament and create a new panel for the users dashboard.
First run php artisan test and make sure that all tests are passing
then
for the dashboard to work, you have to remove the 'jetstream' dashboard route from your web.php, then you have to modify a few view's
then run
and 2-3 test will fail
is there a recommend way to avoid this ?
4 Replies
Why are the tests failing? What is the output?
and 2-3 test will fail is there a recommend way to avoid this ?Not everybody uses Jetstream so as dissto mentioned, some info on the failing tests would help.
The test are failg because there is no route named 'dashboard' when using filament
It's not just Jetstream, you will have the same with breeze
So it's a Jetstream test? Just edit or remove it? I don't understand the issue.