Wait until notification pop up is gone
before trying to open the notification shade Bug: 288341660 Test: atest OpenAppFromNotificationWarmTest Change-Id: I2f2f4101408646d364827c78eecfdb12928ff29f
This commit is contained in:
@@ -67,7 +67,10 @@ open class OpenAppFromNotificationWarmTest(flicker: LegacyFlickerTest) :
|
||||
wmHelper.StateSyncBuilder().withFullScreenApp(testApp).waitForAndVerify()
|
||||
testApp.postNotification(wmHelper)
|
||||
device.pressHome()
|
||||
wmHelper.StateSyncBuilder().withHomeActivityVisible().waitForAndVerify()
|
||||
wmHelper.StateSyncBuilder()
|
||||
.withHomeActivityVisible()
|
||||
.withWindowSurfaceDisappeared(ComponentNameMatcher.NOTIFICATION_SHADE)
|
||||
.waitForAndVerify()
|
||||
}
|
||||
|
||||
transitions {
|
||||
|
||||
Reference in New Issue
Block a user