Merge "Fix task transition test"

This commit is contained in:
TreeHugger Robot
2022-07-25 16:55:02 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ class NewTasksAppHelper @JvmOverloads constructor(
}
button.click()
wmHelper.StateSyncBuilder()
.withFullScreenApp(this)
.withAppTransitionIdle()
.waitForAndVerify()
}
}

View File

@@ -78,7 +78,7 @@ class TaskTransitionTest(testSpec: FlickerTestParameter) : BaseTest(testSpec) {
testApp.openNewTask(device, wmHelper)
tapl.pressBack()
wmHelper.StateSyncBuilder()
.withFullScreenApp(testApp)
.withAppTransitionIdle()
.waitForAndVerify()
}
}