Placeholder Component Testing

Hello is it possible to test the Placeholder ?
Forms\Components\Placeholder::make('first_name')
   ->label(trans('First Name'))
   ->content(fn (Order $record): string => $record->customer_first_name)


it('can render view order page', function () {
    $order = OrderFactory::new()->createOne();

    livewire(ViewOrder::class, ['record' => $order->getRouteKey()])
        ->assertFormExists()
        ->assertSuccessful()
        ->assertFormSet([
            'first_name' => $order->customer_first_name,
        ])
        ->assertOk();
});
Was this page helpful?