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

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

Change-Id: Idb3a4eb909544952346a8825bf79ee03f7f77169
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nataniel Borges
2022-05-02 20:21:04 +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)
}