Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
azhansultan committed Oct 17, 2024
1 parent 286bb43 commit fbcd569
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ public void checkoutPagamento() throws InterruptedException {
nexiButton.get(0).click();
}
WebTool.waitTime(5);
logger.info("paga pg" + driver.getPageSource());

WebElement pagaButton = driver.findElement(By.xpath("//button[@id='paymentCheckPageButtonPay']"));
getWebDriverWait(5).withMessage("Il bottone Paga non è cliccabile").until(ExpectedConditions.elementToBeClickable(pagaButton));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,10 @@ public void messaggioDiErroreDelegaPresente() {
}

public void clickOpzioneAccetta() {
this.accettaButton.click();
By acceptDelegaButton = By.xpath("//*[@id='accept-button']");
element(acceptDelegaButton).click();
logger.info("delege pg");
// this.accettaButton.click();
}

public void waitPopUpLoad() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Feature:Il delegato persona giuridica accede ad una delega
@TA_PGdelegatoPagaNotifica
@DeleghePG
@PG
@Alima

Scenario: PN-10389 - Il delegato persona giuridica paga una notifica
Given PG - Si effettua la login tramite token exchange come "delegante", e viene visualizzata la dashboard
Expand Down

0 comments on commit fbcd569

Please sign in to comment.