diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-06-19 06:31:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 06:31:21 -0700 |
commit | 2772ae13b3ff735d5866b7ffd481b40f3867a031 (patch) | |
tree | ae4a500a61dd90fa7fb88968cb0727602224943c /it | |
parent | 89c38a3abb4b8a81632840be01d4b9a6d7a91108 (diff) | |
download | sonarqube-2772ae13b3ff735d5866b7ffd481b40f3867a031.tar.gz sonarqube-2772ae13b3ff735d5866b7ffd481b40f3867a031.zip |
update projects page layout (#2182)
Diffstat (limited to 'it')
-rw-r--r-- | it/it-tests/src/test/java/pageobjects/projects/ProjectsPage.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/it/it-tests/src/test/java/pageobjects/projects/ProjectsPage.java b/it/it-tests/src/test/java/pageobjects/projects/ProjectsPage.java index 21bc73da4a0..66bc7e5fda4 100644 --- a/it/it-tests/src/test/java/pageobjects/projects/ProjectsPage.java +++ b/it/it-tests/src/test/java/pageobjects/projects/ProjectsPage.java @@ -90,7 +90,7 @@ public class ProjectsPage { } public ProjectsPage searchProject(String search) { - SelenideElement searchInput = $(".projects-facet-search input"); + SelenideElement searchInput = $(".projects-topbar-item-search input"); searchInput.setValue("").sendKeys(search); return this; } @@ -115,11 +115,6 @@ public class ProjectsPage { } private SelenideElement getOpenTopBar() { - SelenideElement topBar = $(".projects-topbar-actions").should(Condition.exist); - if (!topBar.has(Condition.hasClass("open"))){ - $(".js-projects-topbar-open").click(); - } - topBar.should(Condition.hasClass("open")); - return topBar; + return $(".projects-topbar-items").should(Condition.exist); } } |