]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7980 Add License ITs in Category
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 8 Sep 2016 07:50:27 +0000 (09:50 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 8 Sep 2016 09:54:29 +0000 (11:54 +0200)
it/it-tests/src/test/java/it/Category5Suite.java
it/it-tests/src/test/java/it/settings/LicensesPageTest.java

index 7f5f85b2a7ac4fa13f9a0b8902128333c0b2a309..4a775d07653ec19a807885c8f97319945534181c 100644 (file)
@@ -22,6 +22,7 @@ package it;
 import it.serverSystem.ClusterTest;
 import it.serverSystem.RestartTest;
 import it.serverSystem.ServerSystemRestartingOrchestrator;
+import it.settings.LicensesPageTest;
 import it.settings.SettingsTestRestartingOrchestrator;
 import it.updateCenter.UpdateCenterTest;
 import it.user.RealmAuthenticationTest;
@@ -39,6 +40,7 @@ import org.junit.runners.Suite;
   ServerSystemRestartingOrchestrator.class,
   RestartTest.class,
   SettingsTestRestartingOrchestrator.class,
+  LicensesPageTest.class,
   // update center
   UpdateCenterTest.class,
   RealmAuthenticationTest.class
index 4fe488578843271616fdd96044ad3fc3526acfbf..3df8beb6d6da7c739bc793ca763b608643b56acc 100644 (file)
@@ -65,8 +65,8 @@ public class LicensesPageTest {
     LicensesPage page = nav.logIn().asAdmin().openLicenses();
 
     page.getLicenses().shouldHaveSize(2);
-    page.getLicensesAsItems().get(0).getName().shouldHave(text("typed.license.secured"));
-    page.getLicensesAsItems().get(1).getName().shouldHave(text("untyped.license.secured"));
+    page.getLicensesAsItems().get(0).getName().shouldHave(text("Typed property"));
+    page.getLicensesAsItems().get(1).getName().shouldHave(text("Property without license type"));
   }
 
   @Test