login()->loginNami(); Livewire::test(DummyComponent::class) ->assertSee('Testcontent') ->assertSee(auth()->user()->lastname); }); class DummyComponent extends Component { public function render(): string { return <<<'HTML'
Testcontent
HTML; } }