Is it possible to disable Toasts or wait until toast disappears while testing
问题 I am testing an app with Espresso . I have one question is it possible to wait until there are no toast are currently being showed. I have a lot of different toast in my app, but while testing I have problems with them because as far as I can guess focus is gone to the toast and I am getting quite another view hierarchy as I can see in error logs. So my question is it possible to hide all (system wide with root access) or just wait until there are any toasts on the screen or maybe if it is