Skip to content

Commit

Permalink
AYS-164 | commonBrowserArguments list and filter locator changed (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: Merve Tekin <[email protected]>
  • Loading branch information
TekinMerve and MerT-GH authored Mar 6, 2024
1 parent f40e4b1 commit ca4611a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/ays/browser/AysBrowser.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void create(AysBrowserType browserType) {
List<String> commonBrowserArguments = new ArrayList<>();
if (System.getProperty("headless") != null) {
log.debug("Headless mode is enabled");
commonBrowserArguments.add("--headless=new");
commonBrowserArguments.add("--headless");
commonBrowserArguments.add("--window-size=1920,1080");
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/ays/pages/AssignmentsPOM.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public AssignmentsPOM() {
@FindBy(xpath = "//h4[normalize-space()='Show Assignment']")
private WebElement validateShow;

@FindBy(xpath = "(//button[contains(@class, 'ant-btn css-2icwjr')])[4]")
@FindBy(xpath = "(//button[contains(@class, 'ant-btn') and contains(@class, 'ant-btn-icon-only')])[1]")
private WebElement filter;

@FindBy(xpath = "//div[@class='ant-select-selection-overflow']")
Expand Down

0 comments on commit ca4611a

Please sign in to comment.