Remove email field

This commit is contained in:
Egor Cherniak 2023-05-19 09:51:09 +03:00
parent ca4c97ad70
commit d3aaccad44
No known key found for this signature in database
GPG Key ID: 26F47333B7BE4ED9

View File

@ -83,7 +83,6 @@ public class SeleniumService {
driver.findElementById("expire-date-input").sendKeys(card.getExpiration());
driver.findElementById("secure-code-input").sendKeys(card.getCvv());
driver.findElementById("card-holder-input").sendKeys("Ivan Ivanov");
driver.findElementById("email-input").sendKeys("test@test.com");
driver.findElementById("pay-btn").click();
new WebDriverWait(driver, formTimeoutSec).until(
ExpectedConditions.visibilityOfElementLocated(By.ById.id("success-icon")));