Promote passing OpenImeWindowToFixedPortraitAppTest tests
It's <0.5% flaky in presubmit for the past month
Bug: 262220203
Test: atest FlickerTests
Change-Id: I79fac0b09b5a9009a5d0cfc8c67d52eb4c363d62
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/ime/OpenImeWindowToFixedPortraitAppTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/ime/OpenImeWindowToFixedPortraitAppTest.kt
index 3a8db45..3f87aef 100644
--- a/tests/FlickerTests/src/com/android/server/wm/flicker/ime/OpenImeWindowToFixedPortraitAppTest.kt
+++ b/tests/FlickerTests/src/com/android/server/wm/flicker/ime/OpenImeWindowToFixedPortraitAppTest.kt
@@ -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 @@
}
}
- @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 @@
}
}
- @Postsubmit
+ @Presubmit
@Test
fun appWindowWithLetterboxCoversExactlyOnScreen() {
val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)