Skip to content

Commit

Permalink
updated locator for Sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
AEkaterina committed Dec 20, 2023
1 parent fa392d6 commit 5392220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/screens/SortOptionsScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class SortOptionsScreen extends Screen {

private final IButton btnSortBy = getElementFactory().getButton(LocatorUtils.getLocator(
new AndroidLocator(By.xpath("//android.widget.HorizontalScrollView/android.widget.LinearLayout/android.widget.Button[2]")),
new AndroidLocator(By.xpath("//android.widget.HorizontalScrollView/android.widget.LinearLayout/android.widget.Button")),
new IosLocator(By.xpath("//XCUIElementTypeStaticText[@name=\"Sort By:\"]/following-sibling::XCUIElementTypeButton"))), "Sort by button");
private final IButton btnAvailability = getElementFactory().getButton(LocatorUtils.getLocator(
new AndroidLocator(By.xpath("//*[contains(@resource-id,\"feedHeaderFacets\")]/android.widget.Button[1]")),
Expand Down

0 comments on commit 5392220

Please sign in to comment.