How to test modal footer actions? #16362
Unanswered
orebarranco
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Actions
Package Version
v3.2.133
How can we help you?
The problem I'm facing is how to test these actions using the Livewire/Filament testing utilities. When I try to use assertActionExists('markAsCompleted') directly after the main modal is mounted, I get errors like:
Failed asserting that an action with name [markAsCompleted] exists on the [App\Filament...] page.
What is the correct way to test actions defined within extraModalFooterActions of a Filament modal?
Beta Was this translation helpful? Give feedback.
All reactions