Merge "Further improving TAPL error messages" into sc-v2-dev am: 9d7cc7d59f am: 3168d5b9f4

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305565

Change-Id: I53523dd7f2ada2d4ee86c3426e1165aec19eff04
This commit is contained in:
Vadim Tryshev
2021-07-20 20:37:37 +00:00
committed by Automerger Merge Worker
@@ -514,9 +514,8 @@ public final class LauncherInstrumentation {
void fail(String message) {
checkForAnomaly();
Assert.fail(formatSystemHealthMessage(formatErrorWithEvents(
"http://go/tapl test failure:\nContext: " + getContextDescription()
+ " => resulting visible state is " + getVisibleStateMessage()
+ ";\nDetails: " + message, true)));
"http://go/tapl test failure: " + message + ";\nContext: " + getContextDescription()
+ "; now visible state is " + getVisibleStateMessage(), true)));
}
private String getContextDescription() {