Merge "Increase frame limit in bubble bar screen test" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
5628ce97e9
+2
@@ -97,6 +97,8 @@ class BubbleBarViewScreenshotTest(emulationSpec: DeviceEmulationSpec) {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user