Ignore assumption violation errors on IW cuj

The issue started when the shell transitions flag was updated. To avoid this in the future, add cujComplete tests to regular flicker presubmit to block CLs that break it

Test: atest FlickerTests
Fixes: 267564965
Change-Id: I4525775fcfd19e6713974cafbb964553580fb125
This commit is contained in:
Nataniel Borges
2023-02-02 11:34:08 +00:00
parent 1c8345ee34
commit 74f4ed7700
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() {