From: Julien Lancelot Date: Thu, 8 Sep 2016 07:50:27 +0000 (+0200) Subject: SONAR-7980 Add License ITs in Category X-Git-Tag: 6.1-RC1~183 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=237661a53ae481b6ec10e1b17e59b71630134131;p=sonarqube.git SONAR-7980 Add License ITs in Category --- diff --git a/it/it-tests/src/test/java/it/Category5Suite.java b/it/it-tests/src/test/java/it/Category5Suite.java index 7f5f85b2a7a..4a775d07653 100644 --- a/it/it-tests/src/test/java/it/Category5Suite.java +++ b/it/it-tests/src/test/java/it/Category5Suite.java @@ -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 diff --git a/it/it-tests/src/test/java/it/settings/LicensesPageTest.java b/it/it-tests/src/test/java/it/settings/LicensesPageTest.java index 4fe48857884..3df8beb6d6d 100644 --- a/it/it-tests/src/test/java/it/settings/LicensesPageTest.java +++ b/it/it-tests/src/test/java/it/settings/LicensesPageTest.java @@ -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