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

Commit 06a2cede authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Fix navbar layer visibility check on tablet

Fixes: 240570448
Test: atest FlickerTests
Change-Id: Iada7f2267c4c3c29db9d1362252175cf22d76829
parent b2f97af5
Loading
Loading
Loading
Loading
+20 −13
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ open class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) :
    @FlakyTest(bugId = 227083463)
    @Test
    fun navBarLayerVisibilityChanges() {
        Assume.assumeFalse(testSpec.isTablet)
        testSpec.assertLayers {
            this.isInvisible(ComponentMatcher.NAV_BAR)
                .then()
@@ -134,27 +135,32 @@ open class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) :
    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts off and app is full screen at the end")
    override fun taskBarLayerIsVisibleAtStartAndEnd() { }
    override fun taskBarLayerIsVisibleAtStartAndEnd() {
    }

    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts off and app is full screen at the end")
    override fun navBarLayerIsVisibleAtStartAndEnd() { }
    override fun navBarLayerIsVisibleAtStartAndEnd() {
    }

    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts off and app is full screen at the end")
    override fun taskBarWindowIsAlwaysVisible() { }
    override fun taskBarWindowIsAlwaysVisible() {
    }

    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts off and app is full screen at the end")
    override fun navBarWindowIsAlwaysVisible() { }
    override fun navBarWindowIsAlwaysVisible() {
    }

    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts off and app is full screen at the end")
    override fun statusBarWindowIsAlwaysVisible() { }
    override fun statusBarWindowIsAlwaysVisible() {
    }

    /**
     * Checks the position of the [ComponentMatcher.STATUS_BAR] at the end of the
@@ -170,6 +176,7 @@ open class OpenAppNonResizeableTest(testSpec: FlickerTestParameter) :
    @Postsubmit
    @Test
    fun navBarLayerIsVisibleAtEnd() {
        Assume.assumeFalse(testSpec.isTablet)
        testSpec.assertLayersEnd {
            this.isVisible(ComponentMatcher.NAV_BAR)
        }