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

Commit 89482eed authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Disable tapl rotation checks in e2e tests

These checks are flaky when the device is slow

FIXES: 432360239
Flag: TEST_ONLY
Test: atest WMShellFlickerServicePlatinumTests
Change-Id: I5f9cf02fdaf27e0ac5d0a55df1740fc393ac1d26
parent 235c0056
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ abstract class DesktopModeBaseTest(flicker: FlickerTest) : BaseBenchmarkTest(fli
            DesktopState.fromContext(instrumentation.context)
                .isDesktopModeSupportedOnDisplay(DEFAULT_DISPLAY)
        )
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(flicker.scenario.startRotation.value)
        ChangeDisplayOrientationRule.setRotation(flicker.scenario.startRotation)
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ open class StartAppMediaProjection {

    @Before
    fun setup() {
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        testApp.launchViaIntent(wmHelper)
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ open class StartAppMediaProjectionFromSplitScreen {
    fun setup() {
        RemoveAllTasksButHomeRule.removeAllTasksButHome()

        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        SplitScreenUtils.enterSplit(wmHelper, tapl, device, simpleApp, testApp, initialRotation)
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ open class StartAppMediaProjectionInSplitScreen {
    @Before
    fun setup() {
        RemoveAllTasksButHomeRule.removeAllTasksButHome()
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        SplitScreenUtils.enterSplit(wmHelper, tapl, device, targetApp, testApp, initialRotation)
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ open class StartAppMediaProjectionWithDisplayRotations {

    @Before
    fun setup() {
        tapl.expectedRotationCheckEnabled = false
        tapl.setEnableRotation(true)
        tapl.setExpectedRotation(initialRotation.value)
        testApp.launchViaIntent(wmHelper)
Loading