aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests/src/test/java/pageobjects/projects
diff options
context:
space:
mode:
authorGrégoire Aubert <gregaubert@users.noreply.github.com>2017-03-16 10:37:59 +0100
committerGitHub <noreply@github.com>2017-03-16 10:37:59 +0100
commit24998ec360f43a7a745d88a5856d5828ba2d11ad (patch)
tree90aa0d3cbece6841da79a6782e16bfac6ebc2a78 /it/it-tests/src/test/java/pageobjects/projects
parent9db4eb325adf58b3c51bc7ae0bce65a361e98a74 (diff)
downloadsonarqube-24998ec360f43a7a745d88a5856d5828ba2d11ad.tar.gz
sonarqube-24998ec360f43a7a745d88a5856d5828ba2d11ad.zip
SONAR-8922 Add tags facet on project page (#1790)
* Refactor the way filters are rendered * SONAR-8922 Add the tags facet on the projects page * SONAR-8923 Add the tags searchbox
Diffstat (limited to 'it/it-tests/src/test/java/pageobjects/projects')
-rw-r--r--it/it-tests/src/test/java/pageobjects/projects/FacetItem.java5
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;
}