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

Commit 0d4f7be8 authored by Liran Binyamin's avatar Liran Binyamin Committed by Android (Google) Code Review
Browse files

Merge "Attempt to deflake BubbleBarLayerViewTest" into main

parents c08b867b 32a30b02
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -527,8 +527,10 @@ class BubbleBarLayerViewTest {

        // Without waiting for animation completion, we collapse then immediately expand.
        getInstrumentation().runOnMainSync { bubbleBarLayerView.collapse() }
        getInstrumentation().runOnMainSync { bubbleBarLayerView.showExpandedView(bubble) }
        getInstrumentation().runOnMainSync {
            bubbleBarLayerView.showExpandedView(bubble)
            assertThat(bubbleBarLayerView.isAnimatingBubbleTracked(bubble)).isTrue()
        }

        // waitForExpandedViewAnimation() also covers the collapse animation.
        waitForExpandedViewAnimation()