From ce8dd7884ab50044e0cc53ede8e453ff378c5a68 Mon Sep 17 00:00:00 2001 From: Jagrut Desai Date: Wed, 31 May 2023 11:33:00 -0700 Subject: [PATCH] Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet() Currently, test asssumes that we are in persistent taskbar mode and assumes that taskbar is visible after switching to non ime activity. We need overall strategy to how we migrate currentl TaplTestQuickstep to test for transient taskbar mode also. But, this will fix the current flakiness. Test: Pre-submit Flag: not needed Bug: 281772186 Change-Id: Ie7e3364febd38ce489c3d3c881b94b8b308d3cb5 --- .../tests/src/com/android/quickstep/TaplTestsQuickstep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index 7b90ecb086..32eadcea61 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -312,6 +312,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @ScreenRecord // b/242163205 @PlatinumTest(focusArea = "launcher") + @TaskbarModeSwitch(mode = PERSISTENT) public void testQuickSwitchToPreviousAppForTablet() throws Exception { assumeTrue(mLauncher.isTablet()); startTestActivity(2);