Merge "Fix wait condition on quickswitch" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2abbbed2ac
@@ -104,6 +104,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(private val testSpec: FlickerTestPa
|
|||||||
|
|
||||||
wmHelper.waitForFullScreenApp(testApp1.component)
|
wmHelper.waitForFullScreenApp(testApp1.component)
|
||||||
wmHelper.waitForAppTransitionIdle()
|
wmHelper.waitForAppTransitionIdle()
|
||||||
|
wmHelper.waitForNavBarStatusBarVisible()
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown {
|
teardown {
|
||||||
|
|||||||
@@ -116,12 +116,13 @@ open class QuickSwitchBetweenTwoAppsForwardTest(private val testSpec: FlickerTes
|
|||||||
|
|
||||||
wmHelper.waitForFullScreenApp(testApp2.component)
|
wmHelper.waitForFullScreenApp(testApp2.component)
|
||||||
wmHelper.waitForAppTransitionIdle()
|
wmHelper.waitForAppTransitionIdle()
|
||||||
|
wmHelper.waitForNavBarStatusBarVisible()
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown {
|
teardown {
|
||||||
test {
|
test {
|
||||||
testApp1.exit()
|
testApp1.exit(wmHelper)
|
||||||
testApp2.exit()
|
testApp2.exit(wmHelper)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ class QuickSwitchFromLauncherTest(private val testSpec: FlickerTestParameter) {
|
|||||||
|
|
||||||
wmHelper.waitForFullScreenApp(testApp.component)
|
wmHelper.waitForFullScreenApp(testApp.component)
|
||||||
wmHelper.waitForAppTransitionIdle()
|
wmHelper.waitForAppTransitionIdle()
|
||||||
|
wmHelper.waitForNavBarStatusBarVisible()
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown {
|
teardown {
|
||||||
|
|||||||
Reference in New Issue
Block a user