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: I0541054af052a9643cbd84b6fcca921c2d027f6b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user