Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
angelominisci committed Oct 10, 2024
1 parent b5c35fb commit 1300586
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,15 +315,13 @@ public void checkoutPagamento() throws InterruptedException {
continuaBottone.click();

WebTool.waitTime(10);



//Select Nexi
WebElement modificaButton = driver.findElement(By.xpath("//button[@aria-label='Change payment service provider (PSP)']"));
getWebDriverWait(5).withMessage("Il bottone modifica non è cliccabile").until(ExpectedConditions.elementToBeClickable(modificaButton));
modificaButton.click();

WebTool.waitTime(10);
logger.info("HTML.."+ driver.getPageSource());
List<WebElement> nexiButton = driver.findElements(By.xpath("//div[contains(text(),'Nexi')]"));
WebTool.waitTime(10);
//getWebDriverWait(10).withMessage("Il bottone Nexi non è cliccabile").until(ExpectedConditions.elementToBeClickable(nexiButton));
Expand All @@ -338,7 +336,6 @@ public void checkoutPagamento() throws InterruptedException {
getWebDriverWait(5).withMessage("Il bottone Paga non è cliccabile").until(ExpectedConditions.elementToBeClickable(pagaButton));
pagaButton.click();
WebTool.waitTime(50);
logger.info("HTML1.."+ driver.getPageSource());
List<WebElement> chiudi = driver.findElements(By.xpath("//button[contains(text(),'Close')]"));
getWebDriverWait(10).withMessage("Il bottone Chiudi non è cliccabile").until(ExpectedConditions.elementToBeClickable(chiudi.get(0)));
chiudi.get(0).click();
Expand Down

0 comments on commit 1300586

Please sign in to comment.