diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-19 16:56:38 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-21 16:14:07 +0200 |
commit | dccf95202c171899a045fd414f256e7ca22dadc2 (patch) | |
tree | 227b88cd5532313dd9bc21b4b99de71909b58f65 /tests | |
parent | 04d40d224374526638084d837c6c30819463b511 (diff) | |
download | sonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.tar.gz sonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.zip |
SONAR-9583 Use fixed width layout for navigation
Diffstat (limited to 'tests')
3 files changed, 3 insertions, 4 deletions
diff --git a/tests/src/test/java/org/sonarqube/pageobjects/organization/MembersPage.java b/tests/src/test/java/org/sonarqube/pageobjects/organization/MembersPage.java index 76d091305f6..a7d994be397 100644 --- a/tests/src/test/java/org/sonarqube/pageobjects/organization/MembersPage.java +++ b/tests/src/test/java/org/sonarqube/pageobjects/organization/MembersPage.java @@ -32,7 +32,7 @@ import static com.codeborne.selenide.Selenide.$$; public class MembersPage { public MembersPage() { - $(".nav-tabs a.active").shouldBe(visible).shouldHave(text("Members")); + $(".navbar-tabs a.active").shouldBe(visible).shouldHave(text("Members")); } public ElementsCollection getMembers() { diff --git a/tests/src/test/java/org/sonarqube/tests/ui/OrganizationUiExtensionsTest.java b/tests/src/test/java/org/sonarqube/tests/ui/OrganizationUiExtensionsTest.java index 5198fc89062..590926eb229 100644 --- a/tests/src/test/java/org/sonarqube/tests/ui/OrganizationUiExtensionsTest.java +++ b/tests/src/test/java/org/sonarqube/tests/ui/OrganizationUiExtensionsTest.java @@ -63,7 +63,7 @@ public class OrganizationUiExtensionsTest { .logIn().submitCredentials(administrator.getLogin()) .open("/organizations/" + organization.getKey() + "/projects"); - $("#context-navigation a.navbar-admin-link").click(); + $("#context-navigation a.is-admin").click(); $(By.linkText("Organization Admin Page")).shouldBe(Condition.visible).click(); assertThat(url()).contains("uiextensionsplugin/organization_admin_page"); diff --git a/tests/src/test/java/org/sonarqube/tests/ui/UiExtensionsTest.java b/tests/src/test/java/org/sonarqube/tests/ui/UiExtensionsTest.java index db79e355e35..f3215b096bc 100644 --- a/tests/src/test/java/org/sonarqube/tests/ui/UiExtensionsTest.java +++ b/tests/src/test/java/org/sonarqube/tests/ui/UiExtensionsTest.java @@ -66,9 +66,8 @@ public class UiExtensionsTest { User administrator = tester.users().generateAdministrator(); tester.openBrowser() .logIn().submitCredentials(administrator.getLogin()) - .open("/about"); + .open("/settings"); - $(".navbar-admin-link").click(); $("#settings-navigation-configuration").click(); $(By.linkText("Global Admin Page")).click(); |