Skip to content

Commit

Permalink
schrodinger: member panel tests fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Dec 1, 2020
1 parent a1b3e0f commit 0573ae2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,15 +26,15 @@ public ChooseFocusTypeAndRelationModal(T parent, SelenideElement parentElement)
}

public ChooseFocusTypeAndRelationModal<T> setType(String type) {
getParentElement().$(Schrodinger.byDataId("type"))
getParentElement().$x(".//div[@data-s-id='type']")
.waitUntil(Condition.visible, MidPoint.TIMEOUT_DEFAULT_2_S)
.$x(".//select[@" + Schrodinger.DATA_S_ID + "='select']")
.selectOption(type);
return this;
}

public String getType() {
return getParentElement().$(Schrodinger.byDataId("type"))
return getParentElement().$x(".//div[@data-s-id='type']")
.waitUntil(Condition.visible, MidPoint.TIMEOUT_DEFAULT_2_S)
.$x(".//select[@" + Schrodinger.DATA_S_ID + "='select']")
.getSelectedOption().getText();
Expand Down

0 comments on commit 0573ae2

Please sign in to comment.