Merge "Fix appVisible assertion on OpenAppFromNotificationWarm" into tm-dev

This commit is contained in:
Nataniel Borges
2022-05-02 20:13:49 +00:00
committed by Android (Google) Code Review

View File

@@ -206,6 +206,10 @@ abstract class OpenAppTransition(protected val testSpec: FlickerTestParameter) {
protected fun appWindowBecomesVisible_warmStart() { protected fun appWindowBecomesVisible_warmStart() {
testSpec.assertWm { testSpec.assertWm {
this.isAppWindowInvisible(testApp.component) this.isAppWindowInvisible(testApp.component)
.then()
.isAppWindowVisible(FlickerComponentName.SNAPSHOT, isOptional = true)
.then()
.isAppWindowVisible(FlickerComponentName.SPLASH_SCREEN, isOptional = true)
.then() .then()
.isAppWindowVisible(testApp.component) .isAppWindowVisible(testApp.component)
} }