commit | 87a4cee6d7a93abb8a8a9b6c3ca087fe61840585 | [log] [tgz] |
---|---|---|
author | Liran Binyamin <liranb@google.com> | Mon Sep 23 11:29:08 2024 -0400 |
committer | Liran Binyamin <liranb@google.com> | Mon Sep 23 20:44:29 2024 +0000 |
tree | 4f3d344b50f103dcbde826145e0c5e94af5402ab | |
parent | 22754e8622262ca5d04c3b30c4082ead6c736ddb [diff] |
Increase frame limit in bubble bar screen test 50x run ABTD (passed): https://android-build.corp.google.com/abtd/run/L87100030006646570 Flag: com.android.wm.shell.enable_bubble_bar Fixes: 366544536 Test: atest BubbleBarViewScreenshotTest and ABTD above Change-Id: If6683001bf3e87a60500b99d022d956f76dd9da4
diff --git a/quickstep/tests/multivalentScreenshotTests/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewScreenshotTest.kt b/quickstep/tests/multivalentScreenshotTests/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewScreenshotTest.kt index e4b8069..82a7625 100644 --- a/quickstep/tests/multivalentScreenshotTests/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewScreenshotTest.kt +++ b/quickstep/tests/multivalentScreenshotTests/src/com/android/launcher3/taskbar/bubbles/BubbleBarViewScreenshotTest.kt
@@ -97,6 +97,8 @@ fun bubbleBarView_expanded_threeBubbles() { // if we're still expanding, wait with taking a screenshot val shouldWait: (ComponentActivity, View) -> Boolean = { _, _ -> bubbleBarView.isExpanding } + // increase the frame limit to allow the animation to end before taking the screenshot + screenshotRule.frameLimit = 50 screenshotRule.screenshotTest( "bubbleBarView_expanded_threeBubbles", checkView = shouldWait,