From 11dce780228bab1da1018fd6e3f9959d992355c8 Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Thu, 23 Sep 2021 16:15:47 -0400 Subject: [PATCH] Standardize screenshot naming scheme Remove "global_" prefix across the screenshot code. Previously names were mixed between "screenshot_" and "global_screenshot_" which made finding files/elements confusing. Bug: 191661294 Fix: 191661294 Test: manual -- no logic change, just renaming Change-Id: I3ffbf1f84420105c711094e84a513e7189a12336 --- tests/tapl/com/android/launcher3/tapl/OverviewActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tapl/com/android/launcher3/tapl/OverviewActions.java b/tests/tapl/com/android/launcher3/tapl/OverviewActions.java index 950c052636..04df165953 100644 --- a/tests/tapl/com/android/launcher3/tapl/OverviewActions.java +++ b/tests/tapl/com/android/launcher3/tapl/OverviewActions.java @@ -69,7 +69,7 @@ public class OverviewActions { try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( "clicked screenshot button")) { UiObject2 closeScreenshot = mLauncher.waitForSystemUiObject( - "global_screenshot_dismiss_image"); + "screenshot_dismiss_image"); if (mLauncher.getNavigationModel() != LauncherInstrumentation.NavigationModel.THREE_BUTTON) { mLauncher.expectEvent(TestProtocol.SEQUENCE_TIS,