© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
17 replies
Shaung Bhone

How to test repeater value in filament form?

Please confirmed my test is good or not? Please suggest how to test repeater in filament?
livewire(Create::class)
    ->fillForm([
        'name' => fake()->word(),
        'document' => fake()->file('public'),
        'bio' => fake()->sentence(),
        'experience' => [
            ['job_title' => fake()->word()],
            ['company_name' => fake()->word()],
            ['description' => fake()->sentence()]
        ]
    ])
    ->call('create')
    ->assertStatus(200);
livewire(Create::class)
    ->fillForm([
        'name' => fake()->word(),
        'document' => fake()->file('public'),
        'bio' => fake()->sentence(),
        'experience' => [
            ['job_title' => fake()->word()],
            ['company_name' => fake()->word()],
            ['description' => fake()->sentence()]
        ]
    ])
    ->call('create')
    ->assertStatus(200);
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

how to test Repeater
FilamentFFilament / ❓┊help
3y ago
Filament v2 Form Builder: How to add button in Repeater ?
FilamentFFilament / ❓┊help
2y ago
How to filament table in filament form in v3?
FilamentFFilament / ❓┊help
3y ago