Merge "Fix appVisible assertion on OpenAppFromNotificationWarm" into tm-dev am: 33c379b7b6 am: dc4d11bd34

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17907959

Change-Id: I1f245af8918cce5346a5dda23776f076578d24f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nataniel Borges
2022-05-02 23:12:17 +00:00
committed by Automerger Merge Worker

View File

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