From 940d43b6e914af18fd35441472c8eb9cfbaf982a Mon Sep 17 00:00:00 2001 From: Sebastian Franco Date: Wed, 30 Aug 2023 16:09:32 -0700 Subject: [PATCH] Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon The name doesn't make clear what the test is doing and it doesn't follow our naming conventions. Also, adding comment to explain what the test is doing. Bug: 298234173 Test: atest UninstallWorkspaceIcon Change-Id: Icdc42e891a94d159fc07e69931ea8444d882ad56 --- tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java b/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java index 168ed9f18c..839fd030fc 100644 --- a/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java +++ b/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java @@ -597,10 +597,13 @@ public class TaplTestsLauncher3 extends AbstractLauncherUiTest { } } + /** + * Adds three icons to the workspace and removes one of them by dragging to uninstall. + */ @Test @ScreenRecord // b/241821721 @PlatinumTest(focusArea = "launcher") - public void getIconsPosition_afterIconRemoved_notContained() throws IOException { + public void uninstallWorkspaceIcon() throws IOException { Point[] gridPositions = getCornersAndCenterPositions(); StringBuilder sb = new StringBuilder(); for (Point p : gridPositions) {