Choose Panel when testing

I'm wondering how can I choose panel when I'm testing, because the example given in the documentation works only on the admin panel. getUrl function gives APP_URL/admin.

Livewire::test(ResourceName::getUrl('index'))
->assertFormExists();.

This gives /admin/panelname/resource-name, but the page is at /panelname/resource-name.

If I make it like this: AvailableParcelsResource::getUrl('index', [], true, 'panelname'), it cannot find Route [filament.panelname.resources.resource-name.index].
Was this page helpful?