© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
∂evelopeɾ

trying to test filament routes with pest

Im trying to implement this Pestphp smoke testing https://x.com/enunomaduro/status/1621203345036742656
but idk why it just dont work with filament routes
i get all routes from
php artisan route:list
php artisan route:list

but not even the single
->with(['/panel/login'])
->with(['/panel/login'])
work, what am i doing wrong?
Solution
@Dennis Koch I tried following that tweet code example and used a route string like
panel/login
panel/login
, but I figured it's better to use something like
PostResource::getUrl('index')
PostResource::getUrl('index')
instead
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Test authentication with Pest
FilamentFFilament / ❓┊help
2y ago
#fileupload #test #pest
FilamentFFilament / ❓┊help
13mo ago
Filament v4 testing with Pest
FilamentFFilament / ❓┊help
5mo ago
Filament form with laravel pest.
FilamentFFilament / ❓┊help
3y ago