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

Commit b2546c27 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Ignore app layer assertion of RestartAppInSizeCompatModeTest

The app layer is optional to keep visible because the app is killed
and the surface can be hidden or destroyed during relaunching.
And it may not be directly related to the appearance depending on
the implementation of transition (e.g. cover a snapshot), so ignore
it as a note.

Bug: 435398625
Flag: TEST_ONLY
Test: RestartAppInSizeCompatModeTest
Change-Id: Iee06d82ee4556520de7b3ee7f7647a1546f09a73
parent 431671f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.tools.flicker.FlickerTestFactory
import android.tools.flicker.assertions.FlickerChecker
import android.tools.helpers.WindowUtils
import androidx.test.filters.RequiresDevice
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
@@ -71,6 +72,7 @@ class RestartAppInSizeCompatModeTest(flicker: FlickerTest) : BaseAppCompat(flick
        }
    }

    @Ignore("b/273892772 It depends on the transition implementation. Not a necessary condition.")
    @Postsubmit @Test fun appLayerKeepVisible() = assertLetterboxAppLayerKeepVisible()

    @Postsubmit @Test fun appIsLetterboxedAtStart() = assertAppLetterboxedAtStart()