Commit e2b18555 authored by Darrick Yong's avatar Darrick Yong

clean up files and add driver quit

parent d2acb5ae
...@@ -26,7 +26,6 @@ public class AccountSettingsPage { ...@@ -26,7 +26,6 @@ public class AccountSettingsPage {
@FindBy(how = How.ID, using = "phoneNumber") @FindBy(how = How.ID, using = "phoneNumber")
WebElement phoneInput; WebElement phoneInput;
public AccountSettingsPage(WebDriver driver) { public AccountSettingsPage(WebDriver driver) {
this.driver = driver; this.driver = driver;
// this.waiter = new WebDriverWait(this.driver, 5); // this.waiter = new WebDriverWait(this.driver, 5);
......
...@@ -47,6 +47,7 @@ public class TestSafeway { ...@@ -47,6 +47,7 @@ public class TestSafeway {
AccountSettingsPage accountSettingsPage = new AccountSettingsPage(driver); AccountSettingsPage accountSettingsPage = new AccountSettingsPage(driver);
accountSettingsPage.confirmLogin(firstName, lastName, email, phone); accountSettingsPage.confirmLogin(firstName, lastName, email, phone);
driver.quit();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment