© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
kingmaker_bgp

Testing: process Confirmation Modal on page Action

I'm trying to implement the Testing for the Filament Resource. I tried to follow the Testing documentation given in the Filament v2 Testing page.

I simulate the Delete Page Action
Filament\Pages\Actions\DeleteAction
Filament\Pages\Actions\DeleteAction
using the code
livewire(EditRatingTag::class, ['record' => $ratingTag->getRouteKey()])
                ->callPageAction(DeleteAction::class);
                // Todo process the confirmation dialog
livewire(EditRatingTag::class, ['record' => $ratingTag->getRouteKey()])
                ->callPageAction(DeleteAction::class);
                // Todo process the confirmation dialog


But the Issue in my case was I have Confirmation using
->requiresConfirmation()
->requiresConfirmation()
modifier
on the Action. How can achieve that in the Testing?
Testing - Admin Panel - Filament
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

Confirmation modal before action.
FilamentFFilament / ❓┊help
3y ago
Require confirmation modal on submit action
FilamentFFilament / ❓┊help
2y ago
Require confirmation modal on submit action
FilamentFFilament / ❓┊help
2y ago
Confirmation message on custom action modal
FilamentFFilament / ❓┊help
3y ago