summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nataniel Borges <natanieljr@google.com> 2022-03-27 11:07:10 +0200
committer Nataniel Borges <natanieljr@google.com> 2022-03-27 11:07:10 +0200
commit47f3818bd252b0242058ad8fac87bed1f181ef4e (patch)
tree4ef4fbd464ba81df4a852d105a91e06f9599830d
parentcde55d305f5b7d43f5b026812ba0b149bac6d5cf (diff)
Update quick switch test to support animations without SnapshotStartingWindow
Fixes: 227072573 Test: atest QuickSwitchFromLauncherTest Change-Id: I1e0339a3da0426fcffa5062da859032cecb8724d
-rw-r--r--tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/QuickSwitchFromLauncherTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/QuickSwitchFromLauncherTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/QuickSwitchFromLauncherTest.kt
index e5e240485240..f83ae8707e43 100644
--- a/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/QuickSwitchFromLauncherTest.kt
+++ b/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/QuickSwitchFromLauncherTest.kt
@@ -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)
}