disable lazy loading when testing

Is there a way to disable lazy loading relation managers and widgets in testing environment?

I want to test that a text is shown on the page but since its lazy loaded by filament the test will fail.
Was this page helpful?