Promote/demote flicker tests

Promote stable postsubmit to presubmit
Demote unstable postsubmit to flaky
Demote fass assertions to flaky

Test: atest FlickerTests WMShellFlickerTests
Change-Id: Ib652d9951794b7bf27ffcfd16f4f342bfbf2b2e2
This commit is contained in:
Nataniel Borges
2021-12-07 15:41:09 +01:00
parent 154e4da68d
commit 12e300d402
2 changed files with 4 additions and 6 deletions

View File

@@ -16,7 +16,6 @@
package com.android.wm.shell.flicker.apppairs
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import androidx.test.filters.FlakyTest
import androidx.test.filters.RequiresDevice
@@ -68,7 +67,7 @@ class AppPairsTestPairPrimaryAndSecondaryApps(
@Test
override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()
@Postsubmit
@Presubmit
@Test
override fun statusBarLayerRotatesScales() {
// This test doesn't work in shell transitions because of b/206753786

View File

@@ -16,7 +16,6 @@
package com.android.wm.shell.flicker.pip
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.FlakyTest
@@ -96,7 +95,7 @@ class SetRequestedOrientationWhilePinnedTest(
super.statusBarLayerRotatesScales()
}
@Postsubmit
@Presubmit
@Test
fun pipWindowInsideDisplay() {
testSpec.assertWmStart {
@@ -112,7 +111,7 @@ class SetRequestedOrientationWhilePinnedTest(
}
}
@Postsubmit
@Presubmit
@Test
fun pipLayerInsideDisplay() {
testSpec.assertLayersStart {
@@ -126,7 +125,7 @@ class SetRequestedOrientationWhilePinnedTest(
this.isAppWindowVisible(pipApp.component)
}
@Postsubmit
@Presubmit
@Test
fun pipAppLayerCoversFullScreen() {
testSpec.assertLayersEnd {