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:
wilsonshih
2022-03-25 13:43:11 +08:00
parent cd33bde6fa
commit 3402a4930e
2 changed files with 0 additions and 2 deletions

View File

@@ -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()
}

View File

@@ -101,7 +101,6 @@ open class QuickSwitchBetweenTwoAppsForwardTest(private val testSpec: FlickerTes
taplInstrumentation.launchedAppState.quickSwitchToPreviousAppSwipeLeft()
wmHelper.waitForFullScreenApp(testApp2.component)
wmHelper.waitSnapshotGone()
wmHelper.waitForAppTransitionIdle()
wmHelper.waitForNavBarStatusBarVisible()
}