© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Mads Møller

testing panels in pest?

I have 2 panels with admin as the default panel.
now, when I want to write tests for the App Panel, then im facing problems.

1. the routes are not correct SomeResource::getUrl() returns an admin route and not a App route.
2. If I use a route() instead, then the $tenant url parameter is missing.

Is there any nice way to test the non default panel in filament without writing tons of pest setup code?
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

testing uploads with Pest
FilamentFFilament / ❓┊help
3y ago
Filament v4 testing with Pest
FilamentFFilament / ❓┊help
5mo ago
Help Needed with Testing Tabs in Using Pest
FilamentFFilament / ❓┊help
2y ago
Pest Testing Repeater (extra value added in tests)
FilamentFFilament / ❓┊help
3y ago