Refactoring testDragIcon() test

- refactoring getWidget method to add support for different app packages.
 - removing platinum test annotation since adding test on platform scenario test.

Test: Presubmit, Local
Bug: 303258153
Flag: NONE
Change-Id: Ifd5e50cfe8019984ba25312f52266e8b1774318e
This commit is contained in:
Jagrut Desai
2023-12-14 15:30:35 -08:00
parent 2be2b93256
commit 9e9799b28c
2 changed files with 21 additions and 6 deletions
@@ -47,7 +47,6 @@ public class TaplAddWidgetTest extends AbstractLauncherUiTest {
@Rule
public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();
@PlatinumTest(focusArea = "launcher")
@Test
@PortraitLandscape
@ScreenRecordRule.ScreenRecord // b/289161193