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

Commit 1eb098ce authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Demote flaky tests

Test: N/A
Change-Id: Ie31207cbb06cbbe993786134a4407c13779cc832
parent f5f71807
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -143,4 +143,10 @@ class LaunchBubbleFromLockScreen(testSpec: FlickerTestParameter) : BaseBubbleScr
    @Test
    override fun visibleWindowsShownMoreThanOneConsecutiveEntry() =
        super.visibleWindowsShownMoreThanOneConsecutiveEntry()

    @FlakyTest(bugId = 251217773)
    @Test
    override fun entireScreenCovered() {
        super.entireScreenCovered()
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ class AutoEnterPipOnGoToHomeTest(testSpec: FlickerTestParameter) : EnterPipTest(
    }

    /** Checks that [pipApp] window is animated towards default position in right bottom corner */
    @Presubmit
    @FlakyTest(bugId = 251135384)
    @Test
    fun pipLayerMovesTowardsRightBottomCorner() {
        // in gestural nav the swipe makes PiP first go upwards
+6 −0
Original line number Diff line number Diff line
@@ -141,6 +141,12 @@ class EnterPipToOtherOrientationTest(
    @Test
    fun entireScreenCoveredAtStartAndEnd() = testSpec.entireScreenCovered(allStates = false)

    @FlakyTest(bugId = 251219769)
    @Test
    override fun entireScreenCovered() {
        super.entireScreenCovered()
    }

    /**
     * Checks [pipApp] window remains visible and on top throughout the transition
     */
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.wm.shell.flicker.pip

import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
@@ -81,7 +82,7 @@ class ExitPipViaExpandButtonClickTest(
    override fun entireScreenCovered() = super.entireScreenCovered()

    /** {@inheritDoc}  */
    @Presubmit
    @FlakyTest(bugId = 197726610)
    @Test
    override fun pipLayerExpands() = super.pipLayerExpands()

+64 −8
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Presubmit
import android.platform.test.annotations.FlakyTest
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.BaseTest
@@ -61,7 +61,7 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
    }

    /** {@inheritDoc} */
    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    override fun visibleLayersShownMoreThanOneConsecutiveEntry() {
        // depends on how much of the animation transactions are sent to SF at once
@@ -79,7 +79,7 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
    }

    /** {@inheritDoc} */
    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    override fun visibleWindowsShownMoreThanOneConsecutiveEntry() {
        val component = ComponentNameMatcher("", "RecentTaskScreenshotSurface")
@@ -95,7 +95,7 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
        }
    }

    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    fun launcherWindowBecomesInvisible() {
        testSpec.assertWm {
@@ -105,9 +105,11 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
        }
    }

    @Presubmit @Test fun imeWindowIsAlwaysVisible() = testSpec.imeWindowIsAlwaysVisible()
    @FlakyTest(bugId = 251214932)
    @Test
    fun imeWindowIsAlwaysVisible() = testSpec.imeWindowIsAlwaysVisible()

    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    fun imeAppWindowIsAlwaysVisible() {
        // the app starts visible in live tile, and stays visible for the duration of entering
@@ -117,13 +119,13 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
        testSpec.assertWm { this.isAppWindowVisible(testApp) }
    }

    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    fun imeLayerBecomesVisible() {
        testSpec.assertLayers { this.isVisible(ComponentNameMatcher.IME) }
    }

    @Presubmit
    @FlakyTest(bugId = 251214932)
    @Test
    fun appLayerReplacesLauncher() {
        testSpec.assertLayers {
@@ -135,6 +137,60 @@ open class ReOpenImeWindowTest(testSpec: FlickerTestParameter) : BaseTest(testSp
        }
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun navBarLayerPositionAtStartAndEnd() {
        super.navBarLayerPositionAtStartAndEnd()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun navBarWindowIsAlwaysVisible() {
        super.navBarWindowIsAlwaysVisible()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun statusBarLayerIsVisibleAtStartAndEnd() {
        super.statusBarLayerIsVisibleAtStartAndEnd()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun entireScreenCovered() {
        super.entireScreenCovered()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun navBarLayerIsVisibleAtStartAndEnd() {
        super.navBarLayerIsVisibleAtStartAndEnd()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun statusBarLayerPositionAtStartAndEnd() {
        super.statusBarLayerPositionAtStartAndEnd()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun statusBarWindowIsAlwaysVisible() {
        super.statusBarWindowIsAlwaysVisible()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun taskBarLayerIsVisibleAtStartAndEnd() {
        super.taskBarLayerIsVisibleAtStartAndEnd()
    }

    @FlakyTest(bugId = 251214932)
    @Test
    override fun taskBarWindowIsAlwaysVisible() {
        super.taskBarWindowIsAlwaysVisible()
    }

    companion object {
        @Parameterized.Parameters(name = "{0}")
        @JvmStatic
Loading