Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Feb 8, 2024
1 parent f383b92 commit 1647038
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand All @@ -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);
}

/**
Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 1647038

Please sign in to comment.