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

Commit f99a1edb authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Disable SetRequestedOrientationWhilePinned test

Test is very flaky in presubmit. Disable it until we can identify what is causing the failure

Test: atest WMShellFlickerTests
Change-Id: Ieb7a80d0675aefe1a80d10a0f8b512506d063bb3
parent 8e9e03c5
Loading
Loading
Loading
Loading
+21 −6
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

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

import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.FlakyTest
import androidx.test.filters.RequiresDevice
@@ -81,6 +80,22 @@ class SetRequestedOrientationWhilePinnedTest(
            }
        }

    @FlakyTest
    @Test
    override fun navBarLayerIsVisible() = super.navBarLayerIsVisible()

    @FlakyTest
    @Test
    override fun navBarWindowIsVisible() = super.navBarWindowIsVisible()

    @FlakyTest
    @Test
    override fun statusBarLayerIsVisible() = super.statusBarLayerIsVisible()

    @FlakyTest
    @Test
    override fun statusBarWindowIsVisible() = super.statusBarWindowIsVisible()

    @FlakyTest
    @Test
    override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()
@@ -89,7 +104,7 @@ class SetRequestedOrientationWhilePinnedTest(
    @Test
    override fun statusBarLayerRotatesScales() = super.statusBarLayerRotatesScales()

    @Presubmit
    @FlakyTest
    @Test
    fun pipWindowInsideDisplay() {
        testSpec.assertWmStart {
@@ -97,7 +112,7 @@ class SetRequestedOrientationWhilePinnedTest(
        }
    }

    @Presubmit
    @FlakyTest
    @Test
    fun pipAppShowsOnTop() {
        testSpec.assertWmEnd {
@@ -105,7 +120,7 @@ class SetRequestedOrientationWhilePinnedTest(
        }
    }

    @Presubmit
    @FlakyTest
    @Test
    fun pipLayerInsideDisplay() {
        testSpec.assertLayersStart {
@@ -113,13 +128,13 @@ class SetRequestedOrientationWhilePinnedTest(
        }
    }

    @Presubmit
    @FlakyTest
    @Test
    fun pipAlwaysVisible() = testSpec.assertWm {
        this.isAppWindowVisible(pipApp.component)
    }

    @Presubmit
    @FlakyTest
    @Test
    fun pipAppLayerCoversFullScreen() {
        testSpec.assertLayersEnd {