F
Filament2mo ago
rabol

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
artisan make:filament-panel dashboard
artisan make:filament-panel dashboard
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
php artisan test
php artisan test
and 2-3 test will fail is there a recommend way to avoid this ?
4 Replies
dissto
dissto2mo ago
Why are the tests failing? What is the output?
Dennis Koch
Dennis Koch2mo ago
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.
rabol
rabolOP2mo ago
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
Dennis Koch
Dennis Koch2mo ago
So it's a Jetstream test? Just edit or remove it? I don't understand the issue.
Want results from more Discord servers?
Add your server