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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17408866

Change-Id: I6425fb5e0570586ece999f30ccd8060a9fd043c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-03-28 01:50:01 +00:00
committed by Automerger Merge Worker

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