Move unstable tests to postsubmit

Move unstable tests to postsubmit.

Bug: 225582520
Bug: 245472831
Bug: 246490534
Test: atest com.android.wm.shell.flicker.splitscreen
Change-Id: Iec08a185c5e95f4810b962989ab22b67d71a2f82
This commit is contained in:
Chilun Huang
2022-09-19 18:09:07 +08:00
parent 8a8c52ff39
commit 0a0f3d3b16
2 changed files with 9 additions and 6 deletions

View File

@@ -16,6 +16,7 @@
package com.android.wm.shell.flicker.splitscreen
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.IwTest
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
@@ -75,13 +76,13 @@ class DismissSplitScreenByGoHome(
@Test
fun primaryAppLayerBecomesInvisible() = testSpec.layerBecomesInvisible(primaryApp)
@IwTest(focusArea = "sysui")
@Presubmit
// TODO(b/245472831): Move back to presubmit after shell transitions landing.
@FlakyTest(bugId = 245472831)
@Test
fun secondaryAppLayerBecomesInvisible() = testSpec.layerBecomesInvisible(primaryApp)
@IwTest(focusArea = "sysui")
@Presubmit
// TODO(b/245472831): Move back to presubmit after shell transitions landing.
@FlakyTest(bugId = 245472831)
@Test
fun primaryAppBoundsBecomesInvisible() = testSpec.splitAppLayerBoundsBecomesInvisible(
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)

View File

@@ -16,6 +16,7 @@
package com.android.wm.shell.flicker.splitscreen
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.IwTest
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
@@ -85,8 +86,9 @@ class SwitchAppByDoubleTapDivider (testSpec: FlickerTestParameter) : SplitScreen
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
primaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
@IwTest(focusArea = "sysui")
@Presubmit
// TODO(b/246490534): Move back to presubmit after withAppTransitionIdle is robust enough to
// get the correct end state.
@FlakyTest(bugId = 246490534)
@Test
fun secondaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
secondaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)