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

Commit 1b14b4e1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix launchAppFromTaskbar" into main

parents af43a5d6 09d0d87e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -538,7 +538,7 @@ class ConnectedDisplayCujSmokeTests {
    fun findDefaultDisplayObject(paneObject: UiObject2) = paneObject.children[1]

    fun launchAppFromTaskbar(displayId: Int, appHelper: StandardAppHelper) {
        val selector = By.text(appHelper.appName).hasParent(taskbarSelector(displayId))
        val selector = By.text(appHelper.appName).hasAncestor(taskbarSelector(displayId))
        val appName = appHelper.appName
        DeviceHelpers.waitForObj(selector) {
            "Can't find an app icon of $appName on taskbar on display#$displayId"