aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/sonarqube/pageobjects/organization/MembersPage.java2
-rw-r--r--tests/src/test/java/org/sonarqube/tests/ui/OrganizationUiExtensionsTest.java2
-rw-r--r--tests/src/test/java/org/sonarqube/tests/ui/UiExtensionsTest.java3
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();