© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
6 replies
XOTYND17

Trying to test action on specific tab

I have multiple Tab in my ViewRecord page and i want to test if an action is exists on this specific tab. How can i set the active tab using the livewire() function?

    /* How can i set which tab is active ? */
    livewire(ViewOpportunite::class, ['record' => $opportunite->id])
        ->assertActionExists(\App\Filament\Backend\Resources\Opportunites\Actions\AddMessageAction::class);
    /* How can i set which tab is active ? */
    livewire(ViewOpportunite::class, ['record' => $opportunite->id])
        ->assertActionExists(\App\Filament\Backend\Resources\Opportunites\Actions\AddMessageAction::class);
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

Tab Action
FilamentFFilament / ❓┊help
3y ago
Help with table action test
FilamentFFilament / ❓┊help
2y ago
How to test Infolist Action?
FilamentFFilament / ❓┊help
2y ago
Action to change active form tab
FilamentFFilament / ❓┊help
3y ago