mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-10-22 04:28:20 +00:00
BETTERZON-151: Adding option to delete price alarm (#94)
This commit is contained in:
1 parent
841502f9d1
commit
45acbfd9a2
4 files changed
+68
-2
No files matched your search
@@ -16,7 +16,7 @@ public class SearchProduct {
|
||||
//throw new PendingException();
|
||||
Preconditions.driver.get("https://betterzon.xyz");
|
||||
WebElement logo = (new WebDriverWait(Preconditions.driver, 10))
|
||||
.until(ExpectedConditions.elementToBeClickable(By.cssSelector(".logo")));
|
||||
.until(ExpectedConditions.elementToBeClickable(By.cssSelector(".navbar-brand")));
|
||||
}
|
||||
|
||||
@When("^the user enters the search term \"([^\"]*)\" and clicks search$")
|
||||
@@ -25,7 +25,7 @@ public class SearchProduct {
|
||||
searchField.sendKeys(searchTerm);
|
||||
searchField.sendKeys(Keys.ENTER);
|
||||
WebElement logo = (new WebDriverWait(Preconditions.driver, 10))
|
||||
.until(ExpectedConditions.elementToBeClickable(By.cssSelector(".logo")));
|
||||
.until(ExpectedConditions.elementToBeClickable(By.cssSelector(".navbar-brand")));
|
||||
}
|
||||
|
||||
@Then("^the user should see the error page \"([^\"]*)\"$")
|
||||
|
||||
Reference in new issue
Block a user