Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Update AppPage.java
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich authored Feb 2, 2024
1 parent b2ce675 commit 35f3cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/duallab/verapdf/fw/pageobject/AppPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ public AppPage selectProfile(String dataValue) {
public int validate() {
log.info("Trying to validate ... ");
WebDriverWait wait = new WebDriverWait(driver, PropertiesValue.getWaitForDriver());
wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@class='page-navigation__end']//*[@class='MuiButton-label']")));
wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@class='page-navigation-text__end']//*[@class='MuiButton-label']")));

log.info("Trying to click on Validate button ... ");
WebElement el_button = waitForAndFindWebElement(By.xpath("//*[@class='page-navigation__end']//*[@class='MuiButton-label']"), PropertiesValue.getWaitForDriver());
WebElement el_button = waitForAndFindWebElement(By.xpath("//*[@class='page-navigation-text__end']//*[@class='MuiButton-label']"), PropertiesValue.getWaitForDriver());
el_button.click();

log.info("Waiting in queue ... ");
Expand Down

0 comments on commit 35f3cc9

Please sign in to comment.