aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-06-19 06:31:21 -0700
committerGitHub <noreply@github.com>2017-06-19 06:31:21 -0700
commit2772ae13b3ff735d5866b7ffd481b40f3867a031 (patch)
treeae4a500a61dd90fa7fb88968cb0727602224943c /it
parent89c38a3abb4b8a81632840be01d4b9a6d7a91108 (diff)
downloadsonarqube-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.java9
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);
}
}