How to use fillForm() with a repeater?
Hey, I'm trying to set up some tests for my application but how do I use fillForm with a repeater?
This doesn't seem to work.
This doesn't seem to work.
livewire(DeliveryResource\Pages\CreateDelivery::class)
->fillForm([
'products' => [
'description' => 'Test',
'qty' => 1
],
])
->call('create')
->assertHasNoFormErrors();