summaryrefslogtreecommitdiffstats
path: root/tests/tapl
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-03-26 17:51:15 -0700
committervadimt <vadimt@google.com>2019-03-26 18:21:36 -0700
commit522cc2ff0c2eca5414302ab8262efffb2256f43e (patch)
tree3c5e688eac4dcbc147e76c4606259186a28a9eec /tests/tapl
parent77dbcb50ddc61ca27670e3b1d76c9753fd55bd37 (diff)
downloadandroid_packages_apps_Trebuchet-522cc2ff0c2eca5414302ab8262efffb2256f43e.tar.gz
android_packages_apps_Trebuchet-522cc2ff0c2eca5414302ab8262efffb2256f43e.tar.bz2
android_packages_apps_Trebuchet-522cc2ff0c2eca5414302ab8262efffb2256f43e.zip
Adding diags for TAPL flakes that don't reproduce locally
Also temporarily disabling more flaky BindWidgetTests Change-Id: Ib0d3c54c560ddb49b7964e85bf9cd6ebc567b6d7
Diffstat (limited to 'tests/tapl')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/Widgets.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/Widgets.java b/tests/tapl/com/android/launcher3/tapl/Widgets.java
index b6938d6bc..2de53c3f5 100644
--- a/tests/tapl/com/android/launcher3/tapl/Widgets.java
+++ b/tests/tapl/com/android/launcher3/tapl/Widgets.java
@@ -36,6 +36,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
public void flingForward() {
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
"want to fling forward in widgets")) {
+ LauncherInstrumentation.log("Widgets.flingForward enter");
final UiObject2 widgetsContainer = verifyActiveContainer();
widgetsContainer.setGestureMargin(100);
widgetsContainer.fling(Direction.DOWN,
@@ -43,6 +44,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) {
verifyActiveContainer();
}
+ LauncherInstrumentation.log("Widgets.flingForward exit");
}
}
@@ -52,6 +54,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
public void flingBackward() {
try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer(
"want to fling backwards in widgets")) {
+ LauncherInstrumentation.log("Widgets.flingBackward enter");
final UiObject2 widgetsContainer = verifyActiveContainer();
widgetsContainer.setGestureMargin(100);
widgetsContainer.fling(Direction.UP,
@@ -60,6 +63,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
verifyActiveContainer();
}
+ LauncherInstrumentation.log("Widgets.flingBackward exit");
}
}