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

Commit 08ff01e7 authored by Vincent Wang's avatar Vincent Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix Bubble test error problem"

parents 6022de36 dfa379a5
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -48,9 +48,11 @@ class LaunchBubbleFromLockScreen(testSpec: FlickerTestParameter) : BaseBubbleScr
                eachRun {
                eachRun {
                    val addBubbleBtn = waitAndGetAddBubbleBtn()
                    val addBubbleBtn = waitAndGetAddBubbleBtn()
                    addBubbleBtn?.click() ?: error("Bubble widget not found")
                    addBubbleBtn?.click() ?: error("Bubble widget not found")
                    device.sleep()
                    wmHelper.waitFor("noAppWindowsOnTop") {
                    wmHelper.waitFor("noAppWindowsOnTop") {
                        it.wmState.topVisibleAppWindow.isEmpty()
                        it.wmState.topVisibleAppWindow.isEmpty()
                    }
                    }
                    device.wakeUp()
                }
                }
            }
            }
            transitions {
            transitions {