diff options
Diffstat (limited to 'it/it-tests/src/test/java/pageobjects/projects/FacetItem.java')
-rw-r--r-- | it/it-tests/src/test/java/pageobjects/projects/FacetItem.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/it/it-tests/src/test/java/pageobjects/projects/FacetItem.java b/it/it-tests/src/test/java/pageobjects/projects/FacetItem.java index 79ff84d1005..528cb3c2505 100644 --- a/it/it-tests/src/test/java/pageobjects/projects/FacetItem.java +++ b/it/it-tests/src/test/java/pageobjects/projects/FacetItem.java @@ -42,7 +42,10 @@ public class FacetItem { } public FacetItem selectOptionItem(String value) { - this.elt.$(".Select-input input").val(value).pressEnter(); + SelenideElement selectInput = this.elt.$(".Select-input input"); + selectInput.val(value); + this.elt.$("div.Select-option.is-focused").should(Condition.exist); + selectInput.pressEnter(); return this; } |