actingAs(User::factory()->create()); }); it('renders the documentation page', function () { Livewire::test(Documentation::class) ->assertSuccessful() ->assertSee('Documentation API Logistics'); }); it('converts markdown to HTML content', function () { $component = Livewire::test(Documentation::class); expect($component->get('htmlContent')) ->toBeString() ->not->toBeEmpty() ->toContain('