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

Commit 66408d90 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Adding logging pressHome()

Will help understanding flakiness of platform smoke tests.

Bug: 110103162
Test: TaplTests
Change-Id: I7c112554f8281ebe0e62026644e5705a7d1218a2
parent ee598ada
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -225,7 +225,10 @@ public final class LauncherInstrumentation {
        // otherwise waitForIdle may return immediately in case when there was a big enough pause in
        // accessibility events prior to pressing Home.
        executeAndWaitForEvent(
                () -> getSystemUiObject("home").click(),
                () -> {
                    log("LauncherInstrumentation.pressHome before clicking");
                    getSystemUiObject("home").click();
                },
                event -> true,
                "Pressing Home didn't produce any events");
        mDevice.waitForIdle();