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

Commit 261cc401 authored by Sam Dubey's avatar Sam Dubey
Browse files

Disable inernal app before running tests

Debuggable reamdump data collection dialog is triggering up while
running tests. These are causing flakes. While a better fix would be
figuring out why these are triaggered, the wm tests should be
independent of internal apps which an end user of Android won't see.

Test: Forrest
Bug: 258578781
Bug: 239384214
Change-Id: Ia4c0c670fe3e35f84640787cb8fce70e74edb264
parent 0cacc593
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -13,6 +13,8 @@
        <option name="run-command" value="cmd window tracing level all" />
        <option name="run-command" value="cmd window tracing level all" />
        <!-- set WM tracing to frame (avoid incomplete states) -->
        <!-- set WM tracing to frame (avoid incomplete states) -->
        <option name="run-command" value="cmd window tracing frame" />
        <option name="run-command" value="cmd window tracing frame" />
        <!-- disable betterbug as it's log collection dialogues cause flakes in e2e tests -->
        <option name="run-command" value="pm disable com.google.android.internal.betterbug" />
        <!-- ensure lock screen mode is swipe -->
        <!-- ensure lock screen mode is swipe -->
        <option name="run-command" value="locksettings set-disabled false" />
        <option name="run-command" value="locksettings set-disabled false" />
        <!-- restart launcher to activate TAPL -->
        <!-- restart launcher to activate TAPL -->
+2 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,8 @@
        <option name="run-command" value="cmd window tracing frame" />
        <option name="run-command" value="cmd window tracing frame" />
        <!-- ensure lock screen mode is swipe -->
        <!-- ensure lock screen mode is swipe -->
        <option name="run-command" value="locksettings set-disabled false" />
        <option name="run-command" value="locksettings set-disabled false" />
        <!-- disable betterbug as it's log collection dialogues cause flakes in e2e tests -->
        <option name="run-command" value="pm disable com.google.android.internal.betterbug" />
        <!-- restart launcher to activate TAPL -->
        <!-- restart launcher to activate TAPL -->
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
    </target_preparer>
    </target_preparer>