From 16470389d5cc4ab080d5c3861ad4ee4bfc45af59 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Thu, 8 Feb 2024 17:47:54 +0100 Subject: [PATCH] Update tests --- .../unittest/test/internal/commands/DeviceCommands.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/androidTestE2eTest/java/io/appium/uiautomator2/unittest/test/internal/commands/DeviceCommands.java b/app/src/androidTestE2eTest/java/io/appium/uiautomator2/unittest/test/internal/commands/DeviceCommands.java index 03b8c2b39..87876a600 100644 --- a/app/src/androidTestE2eTest/java/io/appium/uiautomator2/unittest/test/internal/commands/DeviceCommands.java +++ b/app/src/androidTestE2eTest/java/io/appium/uiautomator2/unittest/test/internal/commands/DeviceCommands.java @@ -243,7 +243,7 @@ public static Response scrollToAccessibilityId(String scrollToId) throws JSONExc params.put("multiple", false); postBody.put("params", params); - return Client.post("/touch/scroll", postBody); + return Client.post("/gestures/scroll_to", postBody); } /** @@ -266,7 +266,7 @@ public static Response scrollToClassName(String className) throws JSONException params.put("multiple", false); postBody.put("params", params); - return Client.post("/touch/scroll", postBody); + return Client.post("/gestures/scroll_to", postBody); } /** @@ -305,7 +305,7 @@ public static Response scrollToElement(String uiSelectorSpec, int maxSwipes) thr } postBody.put("params", params); - return Client.post("/touch/scroll", postBody); + return Client.post("/gestures/scroll_to", postBody); } /**