Table deferLoading() and Tests
When using on a table, how refactor our pest tests that check table records? If do something like It appears that it doesnt really wait until the table loads to verify. This test passes just fine when the table does not have deferLoading() defined.
2 Replies
Solution
Oop, just found loadTable() should be used according to the docs.
Or ->withoutLazyLoading() on the component maybe.🤔