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

Commit 87a4cee6 authored by Liran Binyamin's avatar Liran Binyamin
Browse files

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
parent 22754e86
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,