syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: [SYNCOPE-156] Fixing console IT tests
Date Fri, 05 Feb 2016 16:34:01 GMT
[SYNCOPE-156] Fixing console IT tests


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/520f7f87
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/520f7f87
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/520f7f87

Branch: refs/heads/master
Commit: 520f7f874b2a87b66201640ada135f363a1f1883
Parents: 18dd88e
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Fri Feb 5 17:33:51 2016 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Fri Feb 5 17:33:51 2016 +0100

----------------------------------------------------------------------
 .../fit/console/AbstractTypesITCase.java        | 57 ++++++++++----------
 .../fit/console/AnyTypeClassesITCase.java       | 16 +++---
 .../syncope/fit/console/AnyTypesITCase.java     | 16 +++---
 .../apache/syncope/fit/console/BaseITCase.java  | 22 ++++----
 .../apache/syncope/fit/console/LogsITCase.java  | 14 ++---
 .../fit/console/RelationshipTypeITCase.java     |  6 +--
 .../syncope/fit/console/SchemasITCase.java      | 27 +++++-----
 7 files changed, 78 insertions(+), 80 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractTypesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractTypesITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractTypesITCase.java
index 8ca9bf1..048c84d 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractTypesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractTypesITCase.java
@@ -26,11 +26,11 @@ import org.junit.Before;
 
 public abstract class AbstractTypesITCase extends AbstractConsoleITCase {
 
-    protected static final String PLAIN_DATATABLE_PATH = "content:tabbedPanel:panel:"
+    protected static final String PLAIN_DATATABLE_PATH = "body:content:tabbedPanel:panel:"
             + "collapsePanel:tabs:0:body:content:container:content:searchContainer:resultTable";
 
     protected static final String DATATABLE_PATH =
-            "content:tabbedPanel:panel:container:content:searchContainer:resultTable";
+            "body:content:tabbedPanel:panel:container:content:searchContainer:resultTable";
 
     @Before
     public void login() {
@@ -38,58 +38,55 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase
{
     }
 
     protected void browsingToRelationshipType() {
-
-        wicketTester.clickLink("configurationLI:configurationUL:typesLI:types");
+        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:0:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
         wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToAnyTypes() {
-
-        wicketTester.clickLink("configurationLI:configurationUL:typesLI:types");
+        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:1:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
         wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToAnyTypeClasses() {
-
-        wicketTester.clickLink("configurationLI:configurationUL:typesLI:types");
+        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:2:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
         wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToPlainSchemas() {
-
-        wicketTester.clickLink("configurationLI:configurationUL:typesLI:types");
+        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:3:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:3:link");
         wicketTester.assertComponent(PLAIN_DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void createPlainSchema(final String key) {
         browsingToPlainSchemas();
-        wicketTester.clickLink("content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
+        wicketTester.clickLink(
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal", Modal.class);
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal",
Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:"
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:form");
         formTester.setValue("content:details:form:key:textField", key);
         formTester.setValue("content:details:form:type:dropDownChoiceField", "3");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:"
+        wicketTester.clickLink("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:dialog:footer:inputs:0:submit");
 
         wicketTester.assertInfoMessages("Operation executed successfully");
@@ -100,14 +97,14 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase
{
     protected void createAnyTypeClassWithoutSchema(final String name) {
         browsingToAnyTypeClasses();
 
-        wicketTester.clickLink("content:tabbedPanel:panel:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", Modal.class);
+                "body:content:tabbedPanel:panel:modal", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue("content:anyTypeClassDetailsPanel:form:key:textField", name);
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
 
         wicketTester.clearFeedbackMessages();
@@ -116,14 +113,14 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase
{
     protected void createAnyType(final String name) {
         browsingToAnyTypes();
 
-        wicketTester.clickLink("content:tabbedPanel:panel:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", Modal.class);
+                "body:content:tabbedPanel:panel:modal", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue("content:anyTypeDetailsPanel:container:form:key:textField", name);
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
 
         wicketTester.clearFeedbackMessages();
@@ -132,17 +129,17 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase
{
     protected void createRelationshipType(final String name) {
         browsingToRelationshipType();
 
-        wicketTester.clickLink("content:tabbedPanel:panel:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", Modal.class);
+                "body:content:tabbedPanel:panel:modal", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue("content:relationshipTypeDetails:container:form:key:textField",
name);
         formTester.setValue(
                 "content:relationshipTypeDetails:container:form:description:textField", "test
relationshipType");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
 
         wicketTester.clearFeedbackMessages();

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
index 2d2c925..e1c0697 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
@@ -52,7 +52,7 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
                 result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", BaseModal.class);
+                "body:content:tabbedPanel:panel:modal", BaseModal.class);
     }
 
     @Test
@@ -60,23 +60,23 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
         browsingToAnyTypeClasses();
         final String anyTypeClassTest = "anyTypeClassTest";
 
-        wicketTester.clickLink("content:tabbedPanel:panel:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", Modal.class);
+                "body:content:tabbedPanel:panel:modal", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue("content:anyTypeClassDetailsPanel:form:key:textField", anyTypeClassTest);
         formTester.setValue(
                 "content:anyTypeClassDetailsPanel:form:container:derSchemas:paletteField:recorder",
"mderiveddata");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
 
         wicketTester.clearFeedbackMessages();
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:2:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
         wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
 
@@ -102,11 +102,11 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelEdit:editLink");
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue(
                 "content:anyTypeClassDetailsPanel:form:container:plainSchemas:paletteField:recorder",
plainSchema);
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
     }
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
index d9aff17..fc07ea5 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
@@ -54,7 +54,7 @@ public class AnyTypesITCase extends AbstractTypesITCase {
                 result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", BaseModal.class);
+                "body:content:tabbedPanel:panel:modal", BaseModal.class);
     }
 
     @Test
@@ -62,23 +62,23 @@ public class AnyTypesITCase extends AbstractTypesITCase {
         browsingToAnyTypes();
         final String anyTypeTest = "anyTypeTest2";
 
-        wicketTester.clickLink("content:tabbedPanel:panel:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", Modal.class);
+                "body:content:tabbedPanel:panel:modal", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue("content:anyTypeDetailsPanel:container:form:key:textField", anyTypeTest);
         formTester.setValue(
                 "content:anyTypeDetailsPanel:container:form:classes:paletteField:recorder",
"csv");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
 
         wicketTester.clearFeedbackMessages();
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:1:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
         wicketTester.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeTest);
@@ -103,11 +103,11 @@ public class AnyTypesITCase extends AbstractTypesITCase {
                 + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:4:cell:panelEdit:editLink");
 
         final FormTester formTester =
-                wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+                wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue(
                 "content:anyTypeDetailsPanel:container:form:classes:paletteField:recorder",
name + ",minimal group");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
     }
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BaseITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BaseITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BaseITCase.java
index 22e4d80..40ed0e5 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BaseITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BaseITCase.java
@@ -61,37 +61,37 @@ public class BaseITCase extends AbstractConsoleITCase {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
         wicketTester.assertRenderedPage(Dashboard.class);
 
-        wicketTester.clickLink("realmsLI:realms");
+        wicketTester.clickLink("body:realmsLI:realms");
         wicketTester.assertRenderedPage(Realms.class);
 
-        wicketTester.clickLink("topologyLI:topology");
+        wicketTester.clickLink("body:topologyLI:topology");
         wicketTester.assertRenderedPage(Topology.class);
 
-        wicketTester.clickLink("reportsLI:reports");
+        wicketTester.clickLink("body:reportsLI:reports");
         wicketTester.assertRenderedPage(Reports.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:workflowLI:workflow");
+        wicketTester.clickLink("body:configurationLI:configurationUL:workflowLI:workflow");
         wicketTester.assertRenderedPage(Workflow.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:logsLI:logs");
+        wicketTester.clickLink("body:configurationLI:configurationUL:logsLI:logs");
         wicketTester.assertRenderedPage(Logs.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:securityquestionsLI:securityquestions");
+        wicketTester.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
         wicketTester.assertRenderedPage(SecurityQuestions.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:typesLI:types");
+        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
         wicketTester.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:rolesLI:roles");
+        wicketTester.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
         wicketTester.assertRenderedPage(Roles.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:policiesLI:policies");
+        wicketTester.clickLink("body:configurationLI:configurationUL:policiesLI:policies");
         wicketTester.assertRenderedPage(Policies.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:layoutsLI:layouts");
+        wicketTester.clickLink("body:configurationLI:configurationUL:layoutsLI:layouts");
         wicketTester.assertRenderedPage(Layouts.class);
 
-        wicketTester.clickLink("configurationLI:configurationUL:notificationsLI:notifications");
+        wicketTester.clickLink("body:configurationLI:configurationUL:notificationsLI:notifications");
         wicketTester.assertRenderedPage(Notifications.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/LogsITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/LogsITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/LogsITCase.java
index 4236c10..c7a8ee3 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/LogsITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/LogsITCase.java
@@ -36,7 +36,7 @@ import org.junit.Test;
 
 public class LogsITCase extends AbstractConsoleITCase {
 
-    private final static String CONTAINER_PATH = "content:tabbedPanel:panel:loggerContainer";
+    private final static String CONTAINER_PATH = "body:content:tabbedPanel:panel:loggerContainer";
 
     @Before
     public void login() {
@@ -46,7 +46,7 @@ public class LogsITCase extends AbstractConsoleITCase {
 
     @Test
     public void readCoreLogs() {
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:0:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
         wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         assertNotNull(searchLog(KEY, CONTAINER_PATH, "org.apache.camel"));
@@ -54,7 +54,7 @@ public class LogsITCase extends AbstractConsoleITCase {
 
     @Test
     public void updateCoreLogs() {
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:0:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
         wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         Component result = searchLog(KEY, CONTAINER_PATH, "org.apache.camel");
@@ -71,8 +71,8 @@ public class LogsITCase extends AbstractConsoleITCase {
 
     @Test
     public void readConsoleLogs() {
-        wicketTester.assertComponent("content:tabbedPanel:tabs-container:tabs:1:link", AjaxFallbackLink.class);
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:1:link");
+        wicketTester.assertComponent("body:content:tabbedPanel:tabs-container:tabs:1:link",
AjaxFallbackLink.class);
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
         wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         assertNotNull(searchLog(KEY, CONTAINER_PATH, "org.apache.syncope.fit"));
@@ -80,7 +80,7 @@ public class LogsITCase extends AbstractConsoleITCase {
 
     @Test
     public void updateConsoleLogs() {
-        wicketTester.clickLink("content:tabbedPanel:tabs-container:tabs:1:link");
+        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
         wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         Component result = searchLog(KEY, CONTAINER_PATH, "org.apache.syncope.fit");
@@ -115,7 +115,7 @@ public class LogsITCase extends AbstractConsoleITCase {
     }
 
     private void browsingToLogs() {
-        wicketTester.clickLink("configurationLI:configurationUL:logsLI:logs");
+        wicketTester.clickLink("body:configurationLI:configurationUL:logsLI:logs");
         wicketTester.assertRenderedPage(Logs.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RelationshipTypeITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RelationshipTypeITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RelationshipTypeITCase.java
index b94d9e7..2df31fa 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RelationshipTypeITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RelationshipTypeITCase.java
@@ -51,7 +51,7 @@ public class RelationshipTypeITCase extends AbstractTypesITCase {
                 result.getPageRelativePath() + ":cells:3:cell:panelEdit:editLink");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:modal", BaseModal.class);
+                "body:content:tabbedPanel:panel:modal", BaseModal.class);
     }
 
     @Test
@@ -84,11 +84,11 @@ public class RelationshipTypeITCase extends AbstractTypesITCase {
                 + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:3:cell:panelEdit:editLink");
 
         final FormTester formTester =
-                wicketTester.newFormTester("content:tabbedPanel:panel:modal:form");
+                wicketTester.newFormTester("body:content:tabbedPanel:panel:modal:form");
         formTester.setValue(
                 "content:relationshipTypeDetails:container:form:description:textField", "new
description");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:modal:dialog:footer:inputs:0:submit");
         wicketTester.assertInfoMessages("Operation executed successfully");
     }
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/520f7f87/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SchemasITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SchemasITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SchemasITCase.java
index 7e3fbbd..8692d9b 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SchemasITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SchemasITCase.java
@@ -54,7 +54,7 @@ public class SchemasITCase extends AbstractTypesITCase {
                 + "body:rows:1:cells:7:cell:panelEdit:editLink");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:"
+                "body:content:tabbedPanel:"
                 + "panel:collapsePanel:tabs:0:body:content:modal:"
                 + "form:content:kindForm:kind:dropDownChoiceField", DropDownChoice.class);
     }
@@ -62,17 +62,18 @@ public class SchemasITCase extends AbstractTypesITCase {
     @Test
     public void createPlainSchema() {
         browsingToPlainSchemas();
-        wicketTester.clickLink("content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
+        wicketTester.clickLink(
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal", Modal.class);
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal",
Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:"
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:form");
         formTester.setValue("content:details:form:key:textField", "zBoolean");
         formTester.setValue("content:details:form:type:dropDownChoiceField", "3");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:"
+        wicketTester.clickLink("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:dialog:footer:inputs:0:submit");
 
         wicketTester.assertInfoMessages("Operation executed successfully");
@@ -94,15 +95,15 @@ public class SchemasITCase extends AbstractTypesITCase {
                 result.getPageRelativePath() + ":cells:7:cell:panelEdit:editLink");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:"
+                "body:content:tabbedPanel:"
                 + "panel:collapsePanel:tabs:0:body:content:modal:"
                 + "form:content:kindForm:kind:dropDownChoiceField", DropDownChoice.class);
 
-        final FormTester formTester =
-                wicketTester.newFormTester("content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal:form");
+        FormTester formTester = wicketTester.newFormTester(
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal:form");
         formTester.setValue("content:details:form:multivalue:checkboxField", "true");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:"
+        wicketTester.clickLink("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:dialog:footer:inputs:0:submit",
true);
 
         wicketTester.assertInfoMessages("Operation executed successfully");
@@ -113,17 +114,17 @@ public class SchemasITCase extends AbstractTypesITCase {
         browsingToPlainSchemas();
         //create new Plain Schema
         final String schemaName = "zStringDelete";
-        wicketTester.clickLink("content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
+        wicketTester.clickLink("body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:container:content:add");
 
         wicketTester.assertComponent(
-                "content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal", Modal.class);
+                "body:content:tabbedPanel:panel:collapsePanel:tabs:0:body:content:modal",
Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("content:tabbedPanel:panel:"
+        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:form");
         formTester.setValue("content:details:form:key:textField", schemaName);
         formTester.setValue("content:details:form:type:dropDownChoiceField", "0");
 
-        wicketTester.clickLink("content:tabbedPanel:panel:"
+        wicketTester.clickLink("body:content:tabbedPanel:panel:"
                 + "collapsePanel:tabs:0:body:content:modal:dialog:footer:inputs:0:submit");
 
         wicketTester.assertInfoMessages("Operation executed successfully");;


Mime
View raw message