We are running Espresso tests on FireBase TestLab. I noticed tests are failing on certain devices (ex. LG Nexus 5) due to a AutofillWithGooglePopUp which appears after signing into application. I want to handle (dismiss) this popUp. I can turn off this feature on the real device we have, but on TestLab this feature is sometimes ON, and I do not think I will be able to turn it off (or could I?). I've tried numerous things: Tried locating with Espresso - did not work out (I guess since it is not a part of application):
onView(withText("alert_dialog_text")).perform(pressBack());
Tried to click back and launch activity again, popUp is still there (though with manual clicks turns off)
Espreso.pressBack();
ActivityTestRule.launchActivity(null);
tried to locate it by numerous selectors with UIAutomator - did not work. UIAutomatorViewer does not see this popUp. AndroidStudio monitor does not see this popUp as well. Seems like Google sends it as Information message. Is there a way to dismiss it programmatically? Maybe there is way to send an adb command to close it? Any guidance is really appreciated.