login()->loginNami(); app(DashboardFactory::class)->purge(); app(DashboardFactory::class)->register(ExampleBlock::class); Livewire::test(DashboardComponent::class) ->assertSee('ExampleTitle'); }); it('renders page successfully', function () { $this->login()->loginNami(); $this->get('/')->assertOk()->assertSee('Dashboard'); }); class ExampleBlock extends Block { public function title(): string { return 'ExampleTitle'; } public function render(): string { return <<<'HTML'