Is thr any way to find a given route is rendered or not? or any kind of some hook which can be handled after route is rendered?

My views are kind of very big ones and take some time to load after vising the route, so I need some way to hold the execution flow till all the views present in the given route are rendered and then execute test case assertions. I tried visit("/").then(func..) but dint worked, so please help me out…