Remove email field (#27)

* Remove email field

* Bump deps

* Revert "Bump deps"

This reverts commit 85cbc8329a.
This commit is contained in:
Egor Cherniak 2023-05-19 15:54:21 +03:00 committed by GitHub
parent ca4c97ad70
commit e386e03ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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