From 204b9d1011d4d12e47e956e155f2169e42c968cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosmin=20B=C4=83ie=C8=99?= <cosminbaies@google.com> Date: Fri, 3 May 2024 13:41:11 +0200 Subject: [PATCH] Mark flaky flicker assertion This is currently flaky as sometimes all the surfaces become invisible when going into AOD. To unblock presubmit, this will be marked flaky until a fix is submitted. Test: atest FlickerTestsIme2:com.android.server.wm.flicker.ime.ShowImeOnUnlockScreenTest Bug: 338178020 Flag: NONE Change-Id: I652b470407c7efbf88f9ea8b48a4491ae0b726e9 --- .../server/wm/flicker/ime/ShowImeOnUnlockScreenTest.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnUnlockScreenTest.kt b/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnUnlockScreenTest.kt index 31506b5eabf0..d22bdcf25529 100644 --- a/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnUnlockScreenTest.kt +++ b/tests/FlickerTests/IME/src/com/android/server/wm/flicker/ime/ShowImeOnUnlockScreenTest.kt @@ -24,6 +24,7 @@ import android.tools.flicker.legacy.FlickerBuilder import android.tools.flicker.legacy.LegacyFlickerTest import android.tools.flicker.legacy.LegacyFlickerTestFactory import android.tools.traces.component.ComponentNameMatcher +import androidx.test.filters.FlakyTest import com.android.server.wm.flicker.BaseTest import com.android.server.wm.flicker.helpers.ImeAppHelper import org.junit.FixMethodOrder @@ -90,6 +91,11 @@ class ShowImeOnUnlockScreenTest(flicker: LegacyFlickerTest) : BaseTest(flicker) @Ignore("Not applicable to this CUJ. Display turns off during transition") override fun taskBarWindowIsAlwaysVisible() {} + @FlakyTest(bugId = 338178020) + @Test + override fun visibleWindowsShownMoreThanOneConsecutiveEntry() = + super.visibleWindowsShownMoreThanOneConsecutiveEntry() + companion object { @Parameterized.Parameters(name = "{0}") @JvmStatic -- GitLab