Promote stable Flicker tests

Test: atest FlickerTests

Bug: 239148258

Bug: 228009808

Bug: 239147075
Change-Id: Ieea545eaf7ed30c7cdd9b25f78146a6129e7bb53
This commit is contained in:
Pablo Gamito
2022-09-08 13:47:53 +00:00
parent af7d9b6c3c
commit e4db4e5542
5 changed files with 3 additions and 69 deletions

View File

@@ -16,7 +16,6 @@
package com.android.server.wm.flicker.quickswitch
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.RequiresDevice
import android.view.Surface
@@ -266,7 +265,7 @@ open class QuickSwitchBetweenTwoAppsBackTest(
}
/** {@inheritDoc} */
@Postsubmit
@Presubmit
@Test
override fun taskBarLayerIsVisibleAtStartAndEnd() = super.taskBarLayerIsVisibleAtStartAndEnd()

View File

@@ -16,7 +16,6 @@
package com.android.server.wm.flicker.quickswitch
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.RequiresDevice
import com.android.server.wm.flicker.FlickerParametersRunnerFactory
@@ -57,29 +56,6 @@ open class QuickSwitchBetweenTwoAppsBackTest_ShellTransit(
Assume.assumeTrue(isShellTransitionsEnabled)
}
@FlakyTest(bugId = 228009808)
@Test
override fun app1LayerIsVisibleOnceApp2LayerIsInvisible() =
super.app1LayerIsVisibleOnceApp2LayerIsInvisible()
@FlakyTest(bugId = 228009808)
@Test
override fun app1WindowBecomesAndStaysVisible() = super.app1WindowBecomesAndStaysVisible()
@FlakyTest(bugId = 228009808)
@Test
override fun endsWithApp1BeingOnTop() = super.endsWithApp1BeingOnTop()
@FlakyTest(bugId = 239147075)
@Test
override fun visibleLayersShownMoreThanOneConsecutiveEntry() =
super.visibleLayersShownMoreThanOneConsecutiveEntry()
@FlakyTest(bugId = 239147075)
@Test
override fun visibleWindowsShownMoreThanOneConsecutiveEntry() =
super.visibleWindowsShownMoreThanOneConsecutiveEntry()
/** {@inheritDoc} */
@Ignore("Nav bar window becomes invisible during quick switch")
@Test

View File

@@ -16,8 +16,6 @@
package com.android.server.wm.flicker.quickswitch
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.RequiresDevice
import android.view.Surface
@@ -274,22 +272,10 @@ open class QuickSwitchBetweenTwoAppsForwardTest(
}
/** {@inheritDoc} */
@Postsubmit
@Presubmit
@Test
override fun taskBarLayerIsVisibleAtStartAndEnd() = super.taskBarLayerIsVisibleAtStartAndEnd()
/** {@inheritDoc} */
@FlakyTest(bugId = 239148258)
@Test
override fun visibleLayersShownMoreThanOneConsecutiveEntry() =
super.visibleLayersShownMoreThanOneConsecutiveEntry()
/** {@inheritDoc} */
@FlakyTest(bugId = 239148258)
@Test
override fun visibleWindowsShownMoreThanOneConsecutiveEntry() =
super.visibleWindowsShownMoreThanOneConsecutiveEntry()
companion object {
private var startDisplayBounds = Rect.EMPTY

View File

@@ -16,7 +16,6 @@
package com.android.server.wm.flicker.quickswitch
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.RequiresDevice
import com.android.server.wm.flicker.FlickerParametersRunnerFactory
@@ -57,19 +56,6 @@ open class QuickSwitchBetweenTwoAppsForwardTest_ShellTransit(
Assume.assumeTrue(isShellTransitionsEnabled)
}
@FlakyTest(bugId = 228009808)
@Test
override fun app2LayerIsVisibleOnceApp1LayerIsInvisible() =
super.app2LayerIsVisibleOnceApp1LayerIsInvisible()
@FlakyTest(bugId = 228009808)
@Test
override fun app2WindowBecomesAndStaysVisible() = super.app2WindowBecomesAndStaysVisible()
@FlakyTest(bugId = 228009808)
@Test
override fun endsWithApp2BeingOnTop() = super.endsWithApp2BeingOnTop()
/** {@inheritDoc} */
@Ignore("Nav bar window becomes invisible during quick switch")
@Test

View File

@@ -16,8 +16,6 @@
package com.android.server.wm.flicker.quickswitch
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.RequiresDevice
import android.view.Surface
@@ -284,21 +282,10 @@ class QuickSwitchFromLauncherTest(testSpec: FlickerTestParameter) : BaseTest(tes
}
/** {@inheritDoc} */
@Postsubmit
@Presubmit
@Test
override fun taskBarLayerIsVisibleAtStartAndEnd() = super.taskBarLayerIsVisibleAtStartAndEnd()
/** {@inheritDoc} */
@FlakyTest(bugId = 239148258)
@Test
override fun visibleLayersShownMoreThanOneConsecutiveEntry() =
super.visibleLayersShownMoreThanOneConsecutiveEntry()
@FlakyTest(bugId = 239148258)
@Test
override fun visibleWindowsShownMoreThanOneConsecutiveEntry() =
super.visibleWindowsShownMoreThanOneConsecutiveEntry()
/** {@inheritDoc} */
@Ignore("Nav bar window becomes invisible during quick switch")
@Test