Mark flaky tests in HorizontalSplitChangeRatioTest as flaky

Bug: 293075402

Test: atest com.android.server.wm.flicker.activityembedding.HorizontalSplitChangeRatioTest
Change-Id: I0fadc91830529ad177f44baff5676cc0332c8425
This commit is contained in:
Pablo Gamito
2023-07-25 17:21:28 +00:00
parent 6d1611a82e
commit ddc3e915e7
2 changed files with 9 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ abstract class ActivityEmbeddingTestBase(flicker: LegacyFlickerTest) : BaseTest(
/** Asserts the background animation layer is never visible during bounds change transition. */
@Presubmit
@Test
fun backgroundLayerNeverVisible() {
open fun backgroundLayerNeverVisible() {
val backgroundColorLayer = ComponentNameMatcher("", "Animation Background")
flicker.assertLayers {
isInvisible(backgroundColorLayer)

View File

@@ -16,6 +16,7 @@
package com.android.server.wm.flicker.activityembedding
import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Presubmit
import android.tools.common.datatypes.Rect
import android.tools.device.flicker.junit.FlickerParametersRunnerFactory
@@ -65,6 +66,13 @@ class HorizontalSplitChangeRatioTest(flicker: LegacyFlickerTest) :
}
}
@FlakyTest(bugId = 293075402)
override fun backgroundLayerNeverVisible() = super.backgroundLayerNeverVisible()
@FlakyTest(bugId = 293075402)
override fun visibleLayersShownMoreThanOneConsecutiveEntry() =
super.visibleLayersShownMoreThanOneConsecutiveEntry()
/** Assert the Main activity window is always visible. */
@Presubmit
@Test