Testing Header Action
I have the following in my EditTenantProfile
I'm trying to write a test and have got this far, however it doesn't work.
Does anyone have any good examples of tests for HeaderActions, they would be willing to share?
Solution:Jump to solution
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#halting-the-creation-process
Actions\Action::make('deleteWebsite')
->callAction('deleteWebsite');
...2 Replies
Solution
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#halting-the-creation-process
Actions\Action::make('deleteWebsite')
->callAction('deleteWebsite');
?Thank you @Leandro Ferreira