Merge "Disable failing app launch assertion on shell transitions" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-21 13:54:52 +00:00
committed by Android (Google) Code Review

View File

@@ -154,6 +154,21 @@ open class OpenAppFromOverviewTest(testSpec: FlickerTestParameter)
super.appWindowReplacesLauncherAsTopWindow()
}
/** {@inheritDoc} */
@Presubmit
@Test
override fun appWindowBecomesTopWindow() {
Assume.assumeFalse(isShellTransitionsEnabled)
super.appWindowBecomesTopWindow()
}
@FlakyTest(bugId = 229738092)
@Test
fun appWindowBecomesTopWindow_ShellTransit() {
Assume.assumeTrue(isShellTransitionsEnabled)
super.appWindowBecomesTopWindow()
}
companion object {
/**
* Creates the test configurations.