hint action tests
hey i got a hint action setup on a simple Select that opens a Form inside a modal.
how do i call that nested action when testing the livewire component in order to write tests for the form displayed in the modal?
when i try using call action i get:
Select::make('chooseProfile')
->hintAction(
Action::make('createNewProfile')->label('newProfileAction')->form([
Grid::make()->schema([
TextInput::make('newProfile')
->required()
])
])
)
how do i call that nested action when testing the livewire component in order to write tests for the form displayed in the modal?
when i try using call action i get:
Failed asserting that an action with name [createNewProfile] exists on the [App\Livewire\ProfileForm] page.