title: Dismiss Alert Dialog in Android Espresso Test
body: <p>I've looked around for solution for this but can't find one.  I'm creating an Espresso Test and need to dismiss an Alert Dialog that appears in the middle of the screen the first time a particular Activity screen is displayed.  There are no buttons on the dialog so to dismiss it the user needs to click anywhere outside the box.  Does anyone know how I can do this with Espresso. I tried clicking on a layout on the underlying screen but Espresso fails saying that view cannot be found in the hierarchy.</p>