How to test `headerActions`/`footerActions` from the Section component?

I use a section, like the one from documenatation, that contains and action in headerActions. How can I test it?

I tried using callFormComponentAction, but it didn't work.

https://filamentphp.com/docs/3.x/forms/layout/section#adding-actions-to-the-sections-header
Solution
Yes, you can test, like all the other forms from inside the component. https://filamentphp.com/docs/3.x/forms/testing#actions
Was this page helpful?