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: Id0573bade10e7706f4e3b1388fcd9041c1dde295
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:37:23 +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)
}