Testing relation manager actions
I am trying to test the actions of relation managers to get 100% code coverage across an internal project we have. However, the furthest I can get are exception that the create actions is not being rendered/present on the livewire component.
I am seeing the create action while logged into the panel.
This is a trimmed down WIP of an example test I have with some specific business logic from the app trimmed out.
This is happening for me in an Laravel 11 project with Filament v3.3.x.
Is there any way to test actions for relation managers?
Thanks in advance!
4 Replies
remove callAction and try
Thanks I've set a Slack reminder to try this tomorrow morning π
GitHub
I'm using AttachAction in a relationship, but I'm not sure how to w...
I couldn't find any information in the documentation at https://filamentphp.com/docs/3.x/panels/testing#relation-managers Is it possible to write tests to confirm that a record has been attache...
It works, thanks a lot π