Naseg
Testing form actions
Couldn't see this in the docs. Given that a livewire component is set up with a custom form and action as follows:
With the following test (which fails) I can't find a way to pass the form to callAction order to test the action:
This results in Failed asserting that an action with name [action] exists on the [App\Filament\Pages\MyPage] page. Does such functionality exist?
Here a component name should be provided but we don't have one.
We need to solve this.
2 replies