Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a0f3d3b authored by Chilun Huang's avatar Chilun Huang
Browse files

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
parent 8a8c52ff
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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)
+4 −2
Original line number Diff line number Diff line
@@ -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)