Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1046e93a authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Automerger Merge Worker
Browse files

Merge "Waiting for snapshot layer gone for quick switch tests." into tm-dev am: 801c0b17

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

Change-Id: I231fb7c8dd2b9fee8ef115d16a0412f3d72c35b6
parents 8e5adedf 801c0b17
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(private val testSpec: FlickerTestPa
            transitions {
                taplInstrumentation.launchedAppState.quickSwitchToPreviousApp()
                wmHelper.waitForFullScreenApp(testApp1.component)
                wmHelper.waitSnapshotGone()
                wmHelper.waitForAppTransitionIdle()
                wmHelper.waitForNavBarStatusBarVisible()
            }
+2 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ import org.junit.runners.Parameterized
/**
 * Test quick switching back to previous app from last opened app
 *
 * To run this test: `atest FlickerTests:QuickSwitchBetweenTwoAppsBackTest`
 * To run this test: `atest FlickerTests:QuickSwitchBetweenTwoAppsForwardTest`
 *
 * Actions:
 *     Launch an app [testApp1]
@@ -101,6 +101,7 @@ open class QuickSwitchBetweenTwoAppsForwardTest(private val testSpec: FlickerTes
                taplInstrumentation.launchedAppState.quickSwitchToPreviousAppSwipeLeft()

                wmHelper.waitForFullScreenApp(testApp2.component)
                wmHelper.waitSnapshotGone()
                wmHelper.waitForAppTransitionIdle()
                wmHelper.waitForNavBarStatusBarVisible()
            }