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

Commit 295a8811 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Promote passing OpenImeWindowToFixedPortraitAppTest tests

It's <0.5% flaky in presubmit for the past month

Bug: 262220203
Test: atest FlickerTests
Change-Id: I79fac0b09b5a9009a5d0cfc8c67d52eb4c363d62
parent b6ea0ff3
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */
package com.android.server.wm.flicker.ime

import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.tools.common.NavBar
import android.tools.common.Rotation
import android.tools.common.datatypes.component.ComponentNameMatcher
@@ -60,19 +60,19 @@ class OpenImeWindowToFixedPortraitAppTest(flicker: FlickerTest) : BaseTest(flick
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun imeLayerVisibleStart() {
        flicker.assertLayersStart { this.isVisible(ComponentNameMatcher.IME) }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun imeLayerExistsEnd() {
        flicker.assertLayersEnd { this.isVisible(ComponentNameMatcher.IME) }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun imeLayerVisibleRegionKeepsTheSame() {
        var imeLayerVisibleRegionBeforeTransition: RegionSubject? = null
@@ -85,7 +85,7 @@ class OpenImeWindowToFixedPortraitAppTest(flicker: FlickerTest) : BaseTest(flick
        }
    }

    @Postsubmit
    @Presubmit
    @Test
    fun appWindowWithLetterboxCoversExactlyOnScreen() {
        val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)