Promote stable app pairs tests

Promote stable postsubmit and flaky tests to presubmit

Test: atest WMShellFlickerTests
Bug: 171049720
Change-Id: I7eff620e56b6c2ccf2704ffbf1576b766cbe4403
This commit is contained in:
Nataniel Borges
2021-02-25 09:57:00 +01:00
parent b9f76e103c
commit 52eb6ffa55
2 changed files with 5 additions and 14 deletions

View File

@@ -71,16 +71,16 @@ class RotateTwoLaunchedAppsInAppPairsMode(
}
}
@FlakyTest
@Presubmit
@Test
fun appPairsDividerIsVisible() = testSpec.appPairsDividerIsVisible()
@FlakyTest
@Presubmit
@Test
fun navBarLayerRotatesAndScales() = testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0,
testSpec.config.endRotation)
@FlakyTest
@Presubmit
@Test
fun statusBarLayerRotatesScales() = testSpec.statusBarLayerRotatesScales(Surface.ROTATION_0,
testSpec.config.endRotation)

View File

@@ -76,17 +76,8 @@ class RotateTwoLaunchedAppsRotateAndEnterAppPairsMode(
@Presubmit
@Test
fun navBarLayerRotatesAndScales() {
Assume.assumeFalse(isRotated)
testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0, testSpec.config.endRotation)
}
@FlakyTest
@Test
fun navBarLayerRotatesAndScales_Flaky() {
Assume.assumeTrue(isRotated)
testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0, testSpec.config.endRotation)
}
fun navBarLayerRotatesAndScales() = testSpec.navBarLayerRotatesAndScales(
Surface.ROTATION_0, testSpec.config.endRotation)
@Presubmit
@Test