© 2026 Hedgehog Software, LLC
Section::make('Search') ->headerActions([ Action::make('csv_import') ->action(...) ]) ->schema([ ... ]),
Livewire::actingAs($this->user) ->test(Search::class) ->assertActionVisible(TestAction::make('import_csv')->schemaComponent(''));
Failed asserting that an action with name [import_csv] is visible on the [App\Livewire\Search] component.
schemaComponent
form, data, search
{ "schemaComponent": "form" }