From 237661a53ae481b6ec10e1b17e59b71630134131 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 8 Sep 2016 09:50:27 +0200 Subject: [PATCH] SONAR-7980 Add License ITs in Category --- it/it-tests/src/test/java/it/Category5Suite.java | 2 ++ it/it-tests/src/test/java/it/settings/LicensesPageTest.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5