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

Commit 1c32949a authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

Merge "Relax the assertion for MapsEnterPipTest for UI mode change" into main

parents 7ac3ea3f 677a8fd2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -137,6 +137,16 @@ open class MapsEnterPipTest(flicker: LegacyFlickerTest) : AppsEnterPipTransition

    override val thisTransition: FlickerBuilder.() -> Unit = { transitions { tapl.goHome() } }

    /** Checks [standardAppHelper] layer remains visible throughout the animation */
    @Postsubmit
    @Test
    override fun pipAppLayerAlwaysVisible() {
        // For Maps the transition goes through the UI mode change that adds a snapshot overlay so
        // we assert only start/end layers matching the app instead.
        flicker.assertLayersStart { this.isVisible(standardAppHelper.packageNameMatcher) }
        flicker.assertLayersEnd { this.isVisible(standardAppHelper.packageNameMatcher) }
    }

    @Postsubmit
    @Test
    override fun focusChanges() {