Merge "Ignore assumption violation errors on IW cuj"

This commit is contained in:
Thomas Nguyen
2023-02-02 20:09:03 +00:00
committed by Android (Google) Code Review
5 changed files with 10 additions and 6 deletions

View File

@@ -184,12 +184,12 @@ constructor(
}
open fun cujCompleted() {
entireScreenCovered()
statusBarLayerIsVisibleAtStartAndEnd()
statusBarLayerPositionAtStartAndEnd()
statusBarWindowIsAlwaysVisible()
visibleLayersShownMoreThanOneConsecutiveEntry()
visibleWindowsShownMoreThanOneConsecutiveEntry()
runAndIgnoreAssumptionViolation { entireScreenCovered() }
runAndIgnoreAssumptionViolation { statusBarLayerIsVisibleAtStartAndEnd() }
runAndIgnoreAssumptionViolation { statusBarLayerPositionAtStartAndEnd() }
runAndIgnoreAssumptionViolation { statusBarWindowIsAlwaysVisible() }
runAndIgnoreAssumptionViolation { visibleLayersShownMoreThanOneConsecutiveEntry() }
runAndIgnoreAssumptionViolation { visibleWindowsShownMoreThanOneConsecutiveEntry() }
runAndIgnoreAssumptionViolation { taskBarLayerIsVisibleAtStartAndEnd() }
runAndIgnoreAssumptionViolation { taskBarWindowIsAlwaysVisible() }
runAndIgnoreAssumptionViolation { navBarLayerIsVisibleAtStartAndEnd() }

View File

@@ -100,6 +100,7 @@ open class CloseImeOnGoHomeTest(flicker: FlickerTest) : BaseTest(flicker) {
flicker.assertLayers { this.isVisible(testApp).then().isInvisible(testApp) }
}
@Presubmit
@Test
@IwTest(focusArea = "ime")
override fun cujCompleted() {

View File

@@ -102,6 +102,7 @@ open class CloseImeToAppOnPressBackTest(flicker: FlickerTest) : BaseTest(flicker
flicker.assertWm { this.isAppWindowOnTop(testApp) }
}
@Presubmit
@Test
@IwTest(focusArea = "ime")
override fun cujCompleted() {

View File

@@ -79,6 +79,7 @@ open class CloseImeToHomeOnFinishActivityTest(flicker: FlickerTest) : BaseTest(f
super.visibleLayersShownMoreThanOneConsecutiveEntry()
}
@Presubmit
@Test
@IwTest(focusArea = "ime")
override fun cujCompleted() {

View File

@@ -50,6 +50,7 @@ open class ShowImeWhenFocusingOnInputFieldTest(flicker: FlickerTest) : BaseTest(
}
}
@Presubmit
@Test
@IwTest(focusArea = "ime")
override fun cujCompleted() {