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

Commit 32993cec authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Disable OpenAppNonResizeableTest on shell

Bug: 265009763
Test: atest OpenAppNonResizeableTest
Change-Id: I6ffd5f8e1ad70b94e30a8887e75b1db01eb25a51
parent 854a3d2d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -24,10 +24,12 @@ import com.android.server.wm.flicker.FlickerTest
import com.android.server.wm.flicker.FlickerTestFactory
import com.android.server.wm.flicker.annotation.FlickerServiceCompatible
import com.android.server.wm.flicker.helpers.NonResizeableAppHelper
import com.android.server.wm.flicker.helpers.isShellTransitionsEnabled
import com.android.server.wm.flicker.junit.FlickerParametersRunnerFactory
import com.android.server.wm.traces.common.ComponentNameMatcher
import com.android.server.wm.traces.common.service.PlatformConsts
import org.junit.Assume
import org.junit.Before
import org.junit.FixMethodOrder
import org.junit.Ignore
import org.junit.Test
@@ -65,6 +67,13 @@ import org.junit.runners.Parameterized
open class OpenAppNonResizeableTest(flicker: FlickerTest) : OpenAppFromLockTransition(flicker) {
    override val testApp = NonResizeableAppHelper(instrumentation)

    @Before
    open fun before() {
        // b/266384300 - The test causes the keyguard occluded state to be incorrect, disable
        // it while enabling shell transitions
        Assume.assumeFalse(isShellTransitionsEnabled)
    }

    /**
     * Checks that the [ComponentNameMatcher.NAV_BAR] layer starts invisible, becomes visible during
     * unlocking animation and remains visible at the end