KarlBoosterBär
Test Form Component Action
I have got a second test to assert the validation errors which passes too:
Now when i add the ->assertFormFieldExists('mountedActionsData.0.name') function the test fails with this error message: "Failed asserting that a field with the name [data.mountedActionsData.0.name] exists on the form with the name [form] on the [App\Filament\Customer\Resources\LocationResource\Pages\ListLocationTariffs] component."
I don't know if my test overall is correct and how i can test the form fields. Would be really nice if someone could help me with this.
5 replies