commit | 836eb795f095a08e8bcf2a7d0b7806baab681df6 | [log] [tgz] |
---|---|---|
author | Pablo Gamito <pablogamito@google.com> | Thu Jan 13 18:09:27 2022 +0100 |
committer | Pablo Gamito <pablogamito@google.com> | Thu Jan 13 18:09:49 2022 +0100 |
tree | c236cbd1b052ac40cf72fddcbbab70ea03ddf2ff | |
parent | 4304ac0abc5cf6f7d0d2749b6eea1f0c3fee0181 [diff] |
Make snapshot window optional in appWindowIsVisibleOnceLauncherWindowIsInvisible assertion Test: atest FlickerTests:QuickSwitchFromLauncherTest Fixes: 214350643 Change-Id: I8c4c167035471f6590bcee9021e8edc1b45bc7d4
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 dcb5c86..8f2803e 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
@@ -261,7 +261,7 @@ testSpec.assertWm { this.isAppWindowOnTop(LAUNCHER_COMPONENT) .then() - .isAppWindowVisible(FlickerComponentName.SNAPSHOT) + .isAppWindowVisible(FlickerComponentName.SNAPSHOT, isOptional = true) .then() .isAppWindowVisible(testApp.component) } @@ -342,4 +342,4 @@ ) } } -} \ No newline at end of file +}