Update quick switch test to support animations without SnapshotStartingWindow

Fixes: 227072573
Test: atest QuickSwitchFromLauncherTest
Change-Id: I1e0339a3da0426fcffa5062da859032cecb8724d
This commit is contained in:
Nataniel Borges
2022-03-27 11:07:10 +02:00
parent cde55d305f
commit 47f3818bd2

View File

@@ -275,7 +275,7 @@ class QuickSwitchFromLauncherTest(private val testSpec: FlickerTestParameter) {
testSpec.assertLayers {
this.isVisible(LAUNCHER_COMPONENT)
.then()
.isVisible(FlickerComponentName.SNAPSHOT)
.isVisible(FlickerComponentName.SNAPSHOT, isOptional = true)
.then()
.isVisible(testApp.component)
}