From 9da7c99730c09e9b9164dec2f8cfbd2e4c337a69 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 22 Nov 2023 14:45:30 +0100 Subject: less verbose output for tryResolve() --- app/src/androidTest/java/utils/CustomInteractions.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/androidTest/java/utils/CustomInteractions.java b/app/src/androidTest/java/utils/CustomInteractions.java index 9e3a8f9d..4890c20c 100644 --- a/app/src/androidTest/java/utils/CustomInteractions.java +++ b/app/src/androidTest/java/utils/CustomInteractions.java @@ -30,8 +30,7 @@ public class CustomInteractions { } hasFound = true; } catch (NoMatchingViewException exception) { - System.out.println("NoMatchingViewException attempt: " + attempt); - exception.printStackTrace(); + System.out.println("NoMatchingViewException - attempt: " + attempt + ". " + exception.getLocalizedMessage()); attempt++; if (attempt == maxTries) { throw exception; -- cgit v1.2.3