Skip to content

Commit

Permalink
fix for updating search in popup
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Jun 26, 2020
1 parent 4717995 commit 8707d74
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ public SearchItemField<Search<T>> byItemName(String itemName) {
}

public Search<T> updateSearch(){
SelenideElement simpleSearchButton = getParentElement().$(Schrodinger.byDataId("searchSimple"))
SelenideElement simpleSearchButton = getParentElement().$x(".//a[@" + Schrodinger.DATA_S_ID + "='searchSimple']")
.waitUntil(Condition.appears, MidPoint.TIMEOUT_DEFAULT_2_S);
Actions builder = new Actions(WebDriverRunner.getWebDriver());
builder.moveToElement(simpleSearchButton, 5, 5).click().build().perform();
Expand Down

0 comments on commit 8707d74

Please sign in to comment.