Set table row limit in tests
Heyo. Not sure if there are questions for this already, couldn't see any but my search terms might not be the same as what exists.
I'm looking to set the table row size limit in my tests, how do I do that? And is it the same for RelationManagers?
I have a relation manager table I'm testing against, but have more than 10 relation records.
3 Replies
do you mean the pagination page size?
Oof sorry for not getting back to this.
Yeah the pagination size. Didn't see anything related to that in the methods available in a Livewire test of a ListResource class or relation manager.
you can
->set('tableRecordsPerPage', 1234)