Disable failing app launch assertion on shell transitions

Bug: 229738092
Test: atest FlickerTests:OpenImeWindowToOverViewTest
Change-Id: I03c28017a8bcd58af197f0d144f3a141a978f698
This commit is contained in:
Nataniel Borges
2022-04-21 11:12:19 +02:00
parent 9406ddaa7e
commit 5070363c87

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.