Merge "Fix appVisible assertion on OpenAppFromNotificationWarm" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
33c379b7b6
@@ -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