Merge "Stabilize quickswitch tests"

This commit is contained in:
TreeHugger Robot
2022-07-27 10:50:46 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(
transitions {
tapl.launchedAppState.quickSwitchToPreviousApp()
wmHelper.StateSyncBuilder()
.withFullScreenApp(testApp1)
.withNavOrTaskBarVisible()
.withStatusBarVisible()
.waitForAndVerify()

View File

@@ -79,6 +79,7 @@ open class QuickSwitchBetweenTwoAppsForwardTest(
testApp2.launchViaIntent(wmHelper)
tapl.launchedAppState.quickSwitchToPreviousApp()
wmHelper.StateSyncBuilder()
.withFullScreenApp(testApp1)
.withNavOrTaskBarVisible()
.withStatusBarVisible()
.waitForAndVerify()
@@ -89,6 +90,7 @@ open class QuickSwitchBetweenTwoAppsForwardTest(
transitions {
tapl.launchedAppState.quickSwitchToPreviousAppSwipeLeft()
wmHelper.StateSyncBuilder()
.withFullScreenApp(testApp2)
.withNavOrTaskBarVisible()
.withStatusBarVisible()
.waitForAndVerify()