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

Commit a660cee4 authored by Vania Desmonda's avatar Vania Desmonda
Browse files

Remove app window bigger than initial bounds assertion.

Removing this assertion because it's not working well, and the other
assertions are sufficient for each CUJ.

Fixes: 366201428
Test: atest ResizeAppWithCornerResizePortrait
Flag: EXEMPT flicker test
Change-Id: Iaca9621a974f591fff92aa44e24eefb76e5a4696
parent 20cdf105
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -36,7 +36,6 @@ import android.tools.flicker.assertors.assertions.AppWindowHasMaxDisplayHeight
import android.tools.flicker.assertors.assertions.AppWindowHasMaxDisplayWidth
import android.tools.flicker.assertors.assertions.AppWindowHasMaxDisplayWidth
import android.tools.flicker.assertors.assertions.AppWindowHasSizeOfAtLeast
import android.tools.flicker.assertors.assertions.AppWindowHasSizeOfAtLeast
import android.tools.flicker.assertors.assertions.AppWindowInsideDisplayBoundsAtEnd
import android.tools.flicker.assertors.assertions.AppWindowInsideDisplayBoundsAtEnd
import android.tools.flicker.assertors.assertions.AppWindowIsBiggerThanInitialBoundsAtEnd
import android.tools.flicker.assertors.assertions.AppWindowIsInvisibleAtEnd
import android.tools.flicker.assertors.assertions.AppWindowIsInvisibleAtEnd
import android.tools.flicker.assertors.assertions.AppWindowIsVisibleAlways
import android.tools.flicker.assertors.assertions.AppWindowIsVisibleAlways
import android.tools.flicker.assertors.assertions.AppWindowMaintainsAspectRatioAlways
import android.tools.flicker.assertors.assertions.AppWindowMaintainsAspectRatioAlways
@@ -172,7 +171,6 @@ class DesktopModeFlickerScenarios {
                assertions = AssertionTemplates.DESKTOP_MODE_APP_VISIBILITY_ASSERTIONS +
                assertions = AssertionTemplates.DESKTOP_MODE_APP_VISIBILITY_ASSERTIONS +
                        listOf(
                        listOf(
                            ResizeVeilKeepsIncreasingInSize(DESKTOP_MODE_APP),
                            ResizeVeilKeepsIncreasingInSize(DESKTOP_MODE_APP),
                            AppWindowIsBiggerThanInitialBoundsAtEnd(DESKTOP_MODE_APP),
                        ).associateBy({ it }, { AssertionInvocationGroup.BLOCKING })
                        ).associateBy({ it }, { AssertionInvocationGroup.BLOCKING })
                )
                )


@@ -189,7 +187,6 @@ class DesktopModeFlickerScenarios {
                assertions = AssertionTemplates.DESKTOP_MODE_APP_VISIBILITY_ASSERTIONS +
                assertions = AssertionTemplates.DESKTOP_MODE_APP_VISIBILITY_ASSERTIONS +
                        listOf(
                        listOf(
                            ResizeVeilKeepsIncreasingInSize(DESKTOP_MODE_APP),
                            ResizeVeilKeepsIncreasingInSize(DESKTOP_MODE_APP),
                            AppWindowIsBiggerThanInitialBoundsAtEnd(DESKTOP_MODE_APP),
                        ).associateBy({ it }, { AssertionInvocationGroup.BLOCKING }),
                        ).associateBy({ it }, { AssertionInvocationGroup.BLOCKING }),
            )
            )