© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Veur

Test an Action with `requiresConfirmation()`

I have an Action which implements
->requiresConfirmation()
->requiresConfirmation()


How can I write a test that checks if the action works after the "Confirm" button inside the confirmation modal is clicked?
Solution
callAction() for example
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Action not working with requiresConfirmation()
FilamentFFilament / ❓┊help
2y ago
Secondary Modal Submit Action with RequiresConfirmation
FilamentFFilament / ❓┊help
13mo ago
requiresConfirmation with ToggleColumn
FilamentFFilament / ❓┊help
3y ago
Add another button to Action requiresConfirmation()
FilamentFFilament / ❓┊help
2y ago