Waiting for snapshot layer gone for quick switch tests.
Reduce the flakness caused from remove window animation, the snapshot starting window with IME window could stay on screen longer. Bug: 226684870 Test: atest FlickerTests:SwitchImeWindowsFromGestureNavTest Change-Id: I247a718d637f0b2d5c05210f670289dcae5968a5
This commit is contained in:
@@ -97,7 +97,6 @@ open class QuickSwitchBetweenTwoAppsBackTest(private val testSpec: FlickerTestPa
|
||||
transitions {
|
||||
taplInstrumentation.launchedAppState.quickSwitchToPreviousApp()
|
||||
wmHelper.waitForFullScreenApp(testApp1.component)
|
||||
wmHelper.waitSnapshotGone()
|
||||
wmHelper.waitForAppTransitionIdle()
|
||||
wmHelper.waitForNavBarStatusBarVisible()
|
||||
}
|
||||
|
||||
@@ -101,7 +101,6 @@ open class QuickSwitchBetweenTwoAppsForwardTest(private val testSpec: FlickerTes
|
||||
taplInstrumentation.launchedAppState.quickSwitchToPreviousAppSwipeLeft()
|
||||
|
||||
wmHelper.waitForFullScreenApp(testApp2.component)
|
||||
wmHelper.waitSnapshotGone()
|
||||
wmHelper.waitForAppTransitionIdle()
|
||||
wmHelper.waitForNavBarStatusBarVisible()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user