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

Commit 74f4ed77 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

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
parent 1c8345ee
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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() }
+1 −0
Original line number Diff line number Diff line
@@ -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() {
+1 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ open class CloseImeToAppOnPressBackTest(flicker: FlickerTest) : BaseTest(flicker
        flicker.assertWm { this.isAppWindowOnTop(testApp) }
    }

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

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

    @Presubmit
    @Test
    @IwTest(focusArea = "ime")
    override fun cujCompleted() {