hello everyone, I want to ask. How to test pagination in laravel livewire. this is my code :
public function testViewAllMyProjecWithPaginationLivewire()
{
$component = Livewire::test(ShowMyProject::class);
$component->assertStatus(200)
->assertSee("paginator-page");
}
So I checked with method assertSee(), especially when I wanted to change the number of paginates in the render method. so that I don't change it directly in the livewire component. or is there another best way to do testing pagination on laravel livewire?