title: how do I know a react component is done processing lifecycle callbacks and ready for interaction in my test?
body: <p>Need a way to wait until all react callbacks have been processed for a react component</p>
  
  <p>I am working on an interaction test for a react component. When I setup or update my app, the react component goes through a rendering cycle. So before I dispatch interaction events, I need wait for all the callbacks to be successfully processed and the component be settled. Is there is a good way to do such waiting in the test</p>