Merge "Update quick switch test to support animations without SnapshotStartingWindow" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-03-27 23:48:23 +00:00
committed by Android (Google) Code Review

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)
}