Testing formActions

I have a following footer actions:

->footerActions([
    fn (string $operation): Action => Action::make('saveBasicDetails')
        ->label('Save changes')
        ->action(function (Section $component, EditRecord $livewire) {
            $livewire->saveFormComponentOnly($component);

            Notification::make()
                ->title('Basic details saved')
                ->success()
                ->send();
        })
        ->visible($operation == 'edit'),
])


Is there a way to test it? It is inside a section of the form
Was this page helpful?