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

Commit 32a30b02 authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Attempt to deflake BubbleBarLayerViewTest

Bug: 442459350
Flag: EXEMPT test only
Test: atest BubbleBarLayerViewTest
Change-Id: I205c94c2642948b49fa4094d8fc9e94e0b3b3231
parent dcb9a0bf
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()