Promote passing OpenImeWindowToFixedPortraitAppTest tests
It's <0.5% flaky in presubmit for the past month Bug: 262220203 Test: atest FlickerTests Change-Id: I79fac0b09b5a9009a5d0cfc8c67d52eb4c363d62
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user