Merge "Waiting for snapshot layer gone for quick switch tests." into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
801c0b17ac
@@ -97,6 +97,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(private val testSpec: FlickerTestPa
|
|||||||
transitions {
|
transitions {
|
||||||
taplInstrumentation.launchedAppState.quickSwitchToPreviousApp()
|
taplInstrumentation.launchedAppState.quickSwitchToPreviousApp()
|
||||||
wmHelper.waitForFullScreenApp(testApp1.component)
|
wmHelper.waitForFullScreenApp(testApp1.component)
|
||||||
|
wmHelper.waitSnapshotGone()
|
||||||
wmHelper.waitForAppTransitionIdle()
|
wmHelper.waitForAppTransitionIdle()
|
||||||
wmHelper.waitForNavBarStatusBarVisible()
|
wmHelper.waitForNavBarStatusBarVisible()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ import org.junit.runners.Parameterized
|
|||||||
/**
|
/**
|
||||||
* Test quick switching back to previous app from last opened app
|
* 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:
|
* Actions:
|
||||||
* Launch an app [testApp1]
|
* Launch an app [testApp1]
|
||||||
@@ -101,6 +101,7 @@ open class QuickSwitchBetweenTwoAppsForwardTest(private val testSpec: FlickerTes
|
|||||||
taplInstrumentation.launchedAppState.quickSwitchToPreviousAppSwipeLeft()
|
taplInstrumentation.launchedAppState.quickSwitchToPreviousAppSwipeLeft()
|
||||||
|
|
||||||
wmHelper.waitForFullScreenApp(testApp2.component)
|
wmHelper.waitForFullScreenApp(testApp2.component)
|
||||||
|
wmHelper.waitSnapshotGone()
|
||||||
wmHelper.waitForAppTransitionIdle()
|
wmHelper.waitForAppTransitionIdle()
|
||||||
wmHelper.waitForNavBarStatusBarVisible()
|
wmHelper.waitForNavBarStatusBarVisible()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user