syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/3] syncope git commit: Speeding up console IT execution
Date Wed, 22 Jun 2016 15:54:22 GMT
Repository: syncope
Updated Branches:
  refs/heads/master 0e6481eb0 -> 87aa699fb


http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RolesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RolesITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RolesITCase.java
index d5991da..80a286b 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RolesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/RolesITCase.java
@@ -34,34 +34,34 @@ import org.junit.runners.MethodSorters;
 @FixMethodOrder(MethodSorters.JVM)
 public class RolesITCase extends AbstractConsoleITCase {
 
+    @Before
+    public void login() {
+        doLogin(ADMIN_UNAME, ADMIN_PWD);
+        TESTER.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
+        TESTER.assertRenderedPage(Roles.class);
+    }
+
     private void createRole(final String name) {
-        wicketTester.clickLink("body:content:rolesPanel:container:content:add");
+        TESTER.clickLink("body:content:rolesPanel:container:content:add");
 
-        wicketTester.assertComponent("body:content:rolesPanel:outerObjectsRepeater:0:outer", Modal.class);
+        TESTER.assertComponent("body:content:rolesPanel:outerObjectsRepeater:0:outer", Modal.class);
 
-        FormTester formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        FormTester formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:form:view:key:textField", name);
         formTester.submit("content:form:buttons:next");
 
-        formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:form:view:entitlements:paletteField:recorder",
                 "WORKFLOW_DEF_READ,NOTIFICATION_UPDATE,RELATIONSHIPTYPE_READ,RELATIONSHIPTYPE_LIST");
         formTester.submit("content:form:buttons:next");
 
-        formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.submit("content:form:buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
-    }
-
-    @Before
-    public void login() {
-        doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
-        wicketTester.assertRenderedPage(Roles.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
     }
 
     @Test
@@ -69,10 +69,10 @@ public class RolesITCase extends AbstractConsoleITCase {
         assertNull(findComponentByProp(KEY, "body:content:rolesPanel:container:content:searchContainer:"
                 + "resultTable:tablePanel:groupForm:checkgroup:dataTable", "OTHER"));
 
-        wicketTester.clickLink("body:content:rolesPanel:container:content:searchContainer:resultTable:tablePanel:"
+        TESTER.clickLink("body:content:rolesPanel:container:content:searchContainer:resultTable:tablePanel:"
                 + "groupForm:checkgroup:dataTable:body:rows:1:cells:4:cell:panelMembers:membersLink");
 
-        wicketTester.assertModelValue(
+        TESTER.assertModelValue(
                 "body:content:rolesPanel:outerObjectsRepeater:4:outer:dialog:header:header-label",
                 "Role 'Other' members");
 
@@ -80,7 +80,7 @@ public class RolesITCase extends AbstractConsoleITCase {
                 + "content:searchResult:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", "rossini"));
 
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:content:rolesPanel:outerObjectsRepeater:4:outer:dialog:footer:buttons:0:button",
                 Constants.ON_CLICK);
     }
@@ -96,26 +96,26 @@ public class RolesITCase extends AbstractConsoleITCase {
         Component result = findComponentByProp(KEY, "body:content:rolesPanel:container:content:searchContainer:"
                 + "resultTable:tablePanel:groupForm:checkgroup:dataTable", "updateRole");
 
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 result.getPageRelativePath() + ":cells:1:cell", "updateRole");
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
 
-        FormTester formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        FormTester formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:form:view:key:textField", "updateRole");
         formTester.submit("content:form:buttons:next");
 
-        formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:form:view:entitlements:paletteField:recorder",
                 "WORKFLOW_DEF_READ,NOTIFICATION_UPDATE");
         formTester.submit("content:form:buttons:next");
 
-        formTester = wicketTester.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
+        formTester = TESTER.newFormTester("body:content:rolesPanel:outerObjectsRepeater:0:outer:form");
         formTester.submit("content:form:buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
@@ -124,19 +124,18 @@ public class RolesITCase extends AbstractConsoleITCase {
         Component result = findComponentByProp(KEY, "body:content:rolesPanel:container:content:searchContainer:"
                 + "resultTable:tablePanel:groupForm:checkgroup:dataTable", "deleteRole");
 
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 result.getPageRelativePath() + ":cells:1:cell", "deleteRole");
 
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink(
-                wicketTester.getComponentFromLastRenderedPage(
-                        result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink"));
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
+                result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink"));
 
-        wicketTester.executeAjaxEvent(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:3:cell:panelDelete:deleteLink"), "onclick");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
         assertNull(findComponentByProp(KEY, "body:content:rolesPanel:container:content:searchContainer:"
                 + "resultTable:tablePanel:groupForm:checkgroup:dataTable", "deleteRole"));

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 fb55ef6..1b24196 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
@@ -40,22 +40,22 @@ public class SchemasITCase extends AbstractTypesITCase {
     @Test
     public void readPlainSchema() {
         browsingToPlainSchemas();
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 PLAIN_DATATABLE_PATH
                 + ":tablePanel:groupForm:"
                 + "checkgroup:dataTable:body:rows:1:cells:1:cell", "aLong");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 PLAIN_DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:7:cell:panelEdit:editLink", IndicatingAjaxLink.class);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 PLAIN_DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:7:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:"
                 + "panel:accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:"
                 + "form:content:kindForm:kind:dropDownChoiceField", DropDownChoice.class);
@@ -64,25 +64,25 @@ public class SchemasITCase extends AbstractTypesITCase {
     @Test
     public void createPlainSchema() {
         browsingToPlainSchemas();
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:0:body:content:container:content:add");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer",
                 Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
+        final FormTester formTester = TESTER.newFormTester("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:details:form:key:textField", "zBoolean");
         formTester.setValue("content:details:form:type:dropDownChoiceField", "3");
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:"
+        TESTER.clickLink("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.cleanupFeedbackMessages();
+        TESTER.assertRenderedPage(Types.class);
     }
 
     @Test
@@ -91,26 +91,26 @@ public class SchemasITCase extends AbstractTypesITCase {
 
         Component result = findComponentByProp(KEY, PLAIN_DATATABLE_PATH, "ctype");
 
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 result.getPageRelativePath() + ":cells:1:cell", "ctype");
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 result.getPageRelativePath() + ":cells:7:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:"
                 + "panel:accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:"
                 + "form:content:kindForm:kind:dropDownChoiceField", DropDownChoice.class);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:details:form:multivalue:checkboxField", "true");
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:"
+        TESTER.clickLink("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit",
                 true);
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     @Test
@@ -118,47 +118,46 @@ public class SchemasITCase extends AbstractTypesITCase {
         browsingToPlainSchemas();
         //create new Plain Schema
         final String schemaName = "zStringDelete";
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:0:body:content:container:content:add");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer",
                 Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
+        final FormTester formTester = TESTER.newFormTester("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:details:form:key:textField", schemaName);
         formTester.setValue("content:details:form:type:dropDownChoiceField", "0");
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:"
+        TESTER.clickLink("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:0:body:content:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");;
+        TESTER.assertInfoMessages("Operation executed successfully");;
 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
 
         //delete plain schema
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 PLAIN_DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:bottomToolbars:toolbars:3:span:navigator:last");
 
-        wicketTester.assertComponent(PLAIN_DATATABLE_PATH, AjaxDataTablePanel.class);
+        TESTER.assertComponent(PLAIN_DATATABLE_PATH, AjaxDataTablePanel.class);
 
         Component result = findComponentByProp(KEY, PLAIN_DATATABLE_PATH, schemaName);
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":cells:7:cell:panelDelete:deleteLink",
                 IndicatingOnConfirmAjaxLink.class);
 
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink(
-                wicketTester.getComponentFromLastRenderedPage(
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
                         result.getPageRelativePath() + ":cells:7:cell:panelDelete:deleteLink"));
 
-        wicketTester.executeAjaxEvent(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:7:cell:panelDelete:deleteLink"), "onclick");
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
         assertNull(findComponentByProp(KEY, PLAIN_DATATABLE_PATH, schemaName));
     }
@@ -166,18 +165,18 @@ public class SchemasITCase extends AbstractTypesITCase {
     @Test
     public void createVirtualSchema() {
         browsingToVirtualSchemas();
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:2:body:content:container:content:add");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:panel:accordionPanel:tabs:2:body:content:outerObjectsRepeater:0:outer",
                 Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester("body:content:tabbedPanel:panel:"
+        final FormTester formTester = TESTER.newFormTester("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:2:body:content:outerObjectsRepeater:0:outer:form");
 
         formTester.setValue("content:details:form:resource:dropDownChoiceField", "0");
-        wicketTester.executeAjaxEvent("body:content:tabbedPanel:panel:"
+        TESTER.executeAjaxEvent("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:2:body:content:outerObjectsRepeater:0:outer:form:"
                 + "content:details:form:resource:dropDownChoiceField", Constants.ON_CHANGE);
 
@@ -186,25 +185,25 @@ public class SchemasITCase extends AbstractTypesITCase {
         formTester.setValue("content:details:form:anyType:dropDownChoiceField", "0");
         formTester.setValue("content:details:form:extAttrName:textField", "virattr");
 
-        wicketTester.executeAjaxEvent("body:content:tabbedPanel:panel:"
+        TESTER.executeAjaxEvent("body:content:tabbedPanel:panel:"
                 + "accordionPanel:tabs:2:body:content:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit",
                 Constants.ON_CLICK);
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
+        TESTER.assertRenderedPage(Types.class);
 
         Component result = findComponentByProp(KEY, VIRTUAL_DATATABLE_PATH, "mynewvir");
         assertNotNull(result);
 
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink"));
 
-        wicketTester.executeAjaxEvent(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink"), "onclick");
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
         result = findComponentByProp(KEY, VIRTUAL_DATATABLE_PATH, "mynewvir");
         assertNull(result);

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SecurityQuestionsITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SecurityQuestionsITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SecurityQuestionsITCase.java
index 10d5531..a9dac35 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SecurityQuestionsITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/SecurityQuestionsITCase.java
@@ -36,41 +36,41 @@ import org.junit.runners.MethodSorters;
 @FixMethodOrder(MethodSorters.JVM)
 public class SecurityQuestionsITCase extends AbstractConsoleITCase {
 
+    @Before
+    public void login() {
+        doLogin(ADMIN_UNAME, ADMIN_PWD);
+        TESTER.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
+        TESTER.assertRenderedPage(SecurityQuestions.class);
+    }
+
     private void createRealm(final String name) {
-        wicketTester.clickLink("body:content:securityQuestionPanel:container:content:add");
+        TESTER.clickLink("body:content:securityQuestionPanel:container:content:add");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:securityQuestionPanel:outerObjectsRepeater:0:outer", Modal.class);
 
         FormTester formTester =
-                wicketTester.newFormTester("body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:form");
+                TESTER.newFormTester("body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:securityQuestionDetailsPanel:container:form:content:textField",
                 name);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
-    }
-
-    @Before
-    public void login() {
-        doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
-        wicketTester.assertRenderedPage(SecurityQuestions.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
     }
 
     @Test
     public void read() {
-        Label label = (Label) wicketTester.getComponentFromLastRenderedPage(
+        Label label = (Label) TESTER.getComponentFromLastRenderedPage(
                 "body:content:securityQuestionPanel:container:content:searchContainer:resultTable:"
                 + "tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:2:cell");
         assertTrue(label.getDefaultModelObjectAsString().startsWith("What's your "));
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:securityQuestionPanel:container:content:"
                 + "searchContainer:resultTable:tablePanel:"
                 + "groupForm:checkgroup:dataTable:body:rows:"
@@ -91,18 +91,18 @@ public class SecurityQuestionsITCase extends AbstractConsoleITCase {
 
         assertNotNull(result);
 
-        wicketTester.clickLink(result.getPageRelativePath() + ":cells:3:cell:panelEdit:editLink");
+        TESTER.clickLink(result.getPageRelativePath() + ":cells:3:cell:panelEdit:editLink");
 
         FormTester formTester =
-                wicketTester.newFormTester("body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:form");
+                TESTER.newFormTester("body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:securityQuestionDetailsPanel:container:form:content:textField",
                 "What's your preferred car?");
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:securityQuestionPanel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
@@ -115,15 +115,15 @@ public class SecurityQuestionsITCase extends AbstractConsoleITCase {
                 name);
         assertNotNull(result);
 
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:3:cell:panelDelete:deleteLink"));
 
-        wicketTester.executeAjaxEvent(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:3:cell:panelDelete:deleteLink"), "onclick");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
         assertNull(findComponentByProp("content",
                 "body:content:securityQuestionPanel:container:content:"

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TestPage.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TestPage.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TestPage.java
index 9dc19ea..93248be 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TestPage.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TestPage.java
@@ -39,7 +39,6 @@ public class TestPage<T extends Serializable, S extends Panel>
     private final S fieldPanel;
 
     private TestPage(S field, final Builder<T, S> builder) {
-
         this.form = builder.form;
         this.fieldPanel = field;
 

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TopologyITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TopologyITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TopologyITCase.java
index 2f5a6ee..c7ac3db 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TopologyITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/TopologyITCase.java
@@ -26,6 +26,7 @@ import org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink;
 import java.util.UUID;
 import org.apache.syncope.client.console.commons.Constants;
 import org.apache.syncope.client.console.panels.TogglePanel;
+import org.apache.syncope.client.console.topology.Topology;
 import org.apache.syncope.client.console.wicket.markup.html.form.NonI18nPalette;
 import org.apache.syncope.common.lib.types.ResourceOperation;
 import org.apache.wicket.Component;
@@ -42,56 +43,54 @@ public class TopologyITCase extends AbstractConsoleITCase {
     @Before
     public void login() {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
+        TESTER.clickLink("body:topologyLI:topology");
+        TESTER.assertRenderedPage(Topology.class);
     }
 
     @Test
     public void showTopology() {
-        wicketTester.clickLink("body:topologyLI:topology");
-        wicketTester.assertComponent("body:syncope", WebMarkupContainer.class);
-        wicketTester.assertComponent("body:resources:1", WebMarkupContainer.class);
-        wicketTester.assertComponent("body:resources:2:resources:0", WebMarkupContainer.class);
+        TESTER.assertComponent("body:syncope", WebMarkupContainer.class);
+        TESTER.assertComponent("body:resources:1", WebMarkupContainer.class);
+        TESTER.assertComponent("body:resources:2:resources:0", WebMarkupContainer.class);
     }
 
     @Test
     public void showTopologyToggleMenu() {
-        wicketTester.clickLink("body:topologyLI:topology");
-        wicketTester.executeAjaxEvent("body:resources:2:resources:0:res", Constants.ON_CLICK);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:delete",
+        TESTER.executeAjaxEvent("body:resources:2:resources:0:res", Constants.ON_CLICK);
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:delete",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:edit",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:edit",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:propagation",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:propagation",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:pull",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:pull",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:push",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:push",
                 AjaxLink.class);
-        wicketTester.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:tasks",
+        TESTER.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:tasks",
                 AjaxLink.class);
-        wicketTester.executeAjaxEvent("body:conns:0:conns:3:conn", Constants.ON_CLICK);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:create",
+        TESTER.executeAjaxEvent("body:conns:0:conns:3:conn", Constants.ON_CLICK);
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:create",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:delete",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:delete",
                 AjaxLink.class);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:edit",
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:edit",
                 AjaxLink.class);
     }
 
     @Test
     public void resourceBulkAction() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "ws-target-resource-1");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:status");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:status");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:1:outer", Modal.class);
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:1:outer", Modal.class);
 
-        FormTester formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:1:outer:form");
+        FormTester formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:1:outer:form");
         formTester.setValue("content:type:dropDownChoiceField", "2");
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:type:dropDownChoiceField",
                 Constants.ON_CHANGE);
         formTester.setValue("content:type:dropDownChoiceField", "2");
@@ -102,37 +101,35 @@ public class TopologyITCase extends AbstractConsoleITCase {
 
         assertNotNull(component);
 
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:1:outer:dialog:footer:buttons:0:button", Constants.ON_CLICK);
     }
 
     @Test
     public void editProvisioning() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "ws-target-resource-1");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:group:beans:0:actions:panelMapping:mappingLink");
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form");
         formTester.submit("buttons:next");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:"
                 + "container:content:wizard:form:view:mapping:mappingContainer:mappings:1", WebMarkupContainer.class);
 
-        wicketTester.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:wizard:form:view:mapping:mappingContainer:mappings:1:mappingItemTransformers:icon",
                 Constants.ON_CLICK);
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:"
                 + "wizard:form:view:mapping:mappingContainer:mappings:0:mappingItemTransformers:alertsLink");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:wizard:outerObjectsRepeater:0:outer:container:content:togglePanelContainer:"
                 + "form:classes:paletteField", NonI18nPalette.class);
     }
@@ -140,64 +137,63 @@ public class TopologyITCase extends AbstractConsoleITCase {
     @Test
     public void createNewResurceAndProvisionRules() {
         final String res = UUID.randomUUID().toString();
-        wicketTester.clickLink("body:topologyLI:topology");
 
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:conns:0:conns:0:conn", Constants.ON_CLICK);
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:container:content:togglePanelContainer:container:actions:create", Constants.ON_CLICK);
 
-        FormTester formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
 
         formTester.setValue("view:container:key:textField", res);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:0:outer:form:content:form");
         formTester.submit("buttons:next");
 
         // click on finish to create the external resource 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
         // ajax event required to retrieve AjaxRequestTarget (used into finish custom event)
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:0:outer:form:content:form:buttons:finish", Constants.ON_CLICK);
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.clickLink("body:topologyLI:topology");
+        TESTER.cleanupFeedbackMessages();
+        TESTER.clickLink("body:topologyLI:topology");
 
         Component component = findComponentByProp("key", "body:resources", res);
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:add");
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:add");
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form");
 
         formTester.setValue("view:container:type:dropDownChoiceField", "0");
         formTester.setValue("view:container:class", "__ACCOUNT__");
         formTester.submit("buttons:next");
-        wicketTester.assertNoErrorMessage();
-        wicketTester.assertNoInfoMessage();
+        TESTER.assertNoErrorMessage();
+        TESTER.assertNoInfoMessage();
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form");
         formTester.submit("buttons:next");
-        wicketTester.assertNoErrorMessage();
-        wicketTester.assertNoInfoMessage();
+        TESTER.assertNoErrorMessage();
+        TESTER.assertNoInfoMessage();
 
-        wicketTester.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:wizard:form:view:mapping:mappingContainer:addMappingBtn", Constants.ON_CLICK);
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form");
 
         formTester.setValue("view:mapping:mappingContainer:mappings:0:connObjectKey:checkboxField", "true");
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form"
                 + ":view:mapping:mappingContainer:mappings:0:connObjectKey:checkboxField", Constants.ON_CHANGE);
 
@@ -206,86 +202,84 @@ public class TopologyITCase extends AbstractConsoleITCase {
         formTester.setValue("view:mapping:mappingContainer:mappings:0:connObjectKey:checkboxField", "true");
 
         formTester.submit("buttons:next");
-        wicketTester.assertNoErrorMessage();
-        wicketTester.assertNoInfoMessage();
+        TESTER.assertNoErrorMessage();
+        TESTER.assertNoInfoMessage();
 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
         // ajax event required to retrieve AjaxRequestTarget (used into finish custom event)
-        wicketTester.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.executeAjaxEvent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:wizard:form:buttons:finish", Constants.ON_CLICK);
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:toggle:outerObjectsRepeater:3:outer:dialog:footer:inputs:0:submit", AjaxSubmitLink.class);
 
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.executeAjaxEvent(
+        TESTER.cleanupFeedbackMessages();
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:3:outer:dialog:footer:inputs:0:submit", Constants.ON_CLICK);
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:provision");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:"
                 + "content:group:beans:0:actions:panelMapping:mappingLink");
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:wizard:form");
         formTester.submit("buttons:next");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:3:outer:form:content:provision:"
                 + "container:content:wizard:form:view:mapping:mappingContainer:mappings:0", WebMarkupContainer.class);
 
-        wicketTester.executeAjaxEvent(
+        TESTER.executeAjaxEvent(
                 "body:toggle:outerObjectsRepeater:3:outer:form:content:provision:container:content:"
                 + "wizard:form:buttons:cancel", Constants.ON_CLICK);
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:3:outer:dialog:footer:buttons:0:button");
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:3:outer:dialog:footer:buttons:0:button");
 
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:delete");
+        TESTER.cleanupFeedbackMessages();
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:delete");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
-        wicketTester.clickLink("body:topologyLI:topology");
+        TESTER.clickLink("body:topologyLI:topology");
         component = findComponentByProp("key", "body:resources", res);
         assertNull(component);
     }
 
     @Test
     public void executePullTask() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "resource-testdb");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:pull");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:pull");
 
         component = findComponentByProp("name", "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", "TestDB Task");
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelExecute:executeLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelExecute:executeLink");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:first:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:first:"
                 + "container:content:startAt:container:content:togglePanelContainer:startAtForm:startAt");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
         component = findComponentByProp("name", "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", "TestDB Task");
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelView:viewLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelView:viewLink");
 
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:secondLevelContainer:title",
                 "Executions of task &#039;TestDB Task&#039;");
 
         int iteration = 0;
         do {
             try {
-                wicketTester.assertComponent(
+                TESTER.assertComponent(
                         "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:secondLevelContainer:"
                         + "second:executions:firstLevelContainer:first:container:content:searchContainer:resultTable:"
                         + "tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelView:viewLink",
@@ -303,29 +297,27 @@ public class TopologyITCase extends AbstractConsoleITCase {
                         + "executions:firstLevelContainer:first:container:content:searchContainer:resultTable:"
                         + "tablePanel:groupForm:checkgroup:dataTable:topToolbars:toolbars:1:headers", "panelReload");
 
-                wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":reloadLink", Constants.ON_CLICK);
+                TESTER.executeAjaxEvent(component.getPageRelativePath() + ":reloadLink", Constants.ON_CLICK);
                 iteration++;
             }
         } while (iteration < 10);
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:secondLevelContainer:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:secondLevelContainer:"
                 + "second:executions:firstLevelContainer:first:container:content:searchContainer:resultTable:"
                 + "tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelView:viewLink");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "secondLevelContainer:second:executions:secondLevelContainer:title", Label.class);
     }
 
     @Test
     public void readPropagationTaskExecutions() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "resource-testdb");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:propagation");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:propagation");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
                 WebMarkupContainer.class);
 
@@ -333,172 +325,166 @@ public class TopologyITCase extends AbstractConsoleITCase {
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", ResourceOperation.CREATE);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelExecute:executeLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelExecute:executeLink");
 
-        wicketTester.clickLink("body:topologyLI:topology");
+        TESTER.clickLink("body:topologyLI:topology");
 
         component = findComponentByProp("key", "body:resources", "resource-testdb");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:propagation");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:propagation");
 
         component = findComponentByProp("operation", "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", ResourceOperation.CREATE);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelView:viewLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:10:cell:panelView:viewLink");
 
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:secondLevelContainer:title",
                 "CREATE task about USER");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:secondLevelContainer:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:secondLevelContainer:"
                 + "second:executions:firstLevelContainer:first:container:content:searchContainer:resultTable:"
                 + "tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelView:viewLink");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:"
                 + "secondLevelContainer:second:executions:secondLevelContainer:title", Label.class);
     }
 
     @Test
     public void editPushTask() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "resource-ldap");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:push");
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:push");
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:9:cell:panelEdit:editLink");
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:2:outer:form:content:"
                 + "tasks:firstLevelContainer:first:container:content:wizard:form");
         formTester.setValue("view:description:textField", "test");
         formTester.submit("buttons:next");
 
-        wicketTester.assertModelValue("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
+        TESTER.assertModelValue("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:wizard:form:view:filters:0:filters:tabs:0:body:"
                 + "content:searchFormContainer:search:multiValueContainer:innerForm:content:view:0:panel:container:"
                 + "value:textField", "_NO_ONE_");
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:2:outer:form:content:"
                 + "tasks:firstLevelContainer:first:container:content:wizard:form");
         formTester.submit("buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
     public void createSchedTask() {
-        wicketTester.clickLink("body:topologyLI:topology");
-        wicketTester.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:tasks");
-        wicketTester.clickLink(
+        TESTER.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:tasks");
+        TESTER.clickLink(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:first:"
                 + "container:content:add");
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:first:"
                 + "container:content:wizard:form");
         formTester.setValue("view:name:textField", "test");
         formTester.select("view:jobDelegateClassName:dropDownChoiceField", 0);
 
         formTester.submit("buttons:next");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:first:"
                 + "container:content:wizard:form");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:wizard:form:view:schedule:seconds:textField", TextField.class);
 
         formTester.submit("buttons:finish");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
     public void addGroupTemplate() {
-        wicketTester.clickLink("body:topologyLI:topology");
-
         Component component = findComponentByProp("key", "body:resources", "resource-testdb");
         assertNotNull(component);
-        wicketTester.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:pull");
+        TESTER.executeAjaxEvent(component.getPageRelativePath() + ":res", Constants.ON_CLICK);
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:pull");
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:10:cell:panelTemplate:templateLink");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:toggleTemplates", TogglePanel.class);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:first:container:"
                 + "content:toggleTemplates:container:content:togglePanelContainer:templatesForm");
 
         formTester.setValue("type:dropDownChoiceField", "1");
         formTester.submit("changeit");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer", Modal.class);
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer", Modal.class);
 
-        formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
+        formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:wizard:form");
         formTester.setValue("view:name:textField", "'k' + name");
         formTester.submit("buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
-        wicketTester.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.clickLink("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:10:cell:panelTemplate:templateLink");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:toggleTemplates", TogglePanel.class);
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:"
                 + "first:container:content:toggleTemplates", TogglePanel.class);
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:firstLevelContainer:first:container:"
                 + "content:toggleTemplates:container:content:togglePanelContainer:templatesForm");
 
         formTester.setValue("type:dropDownChoiceField", "1");
         formTester.submit("changeit");
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:2:outer", Modal.class);
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:2:outer", Modal.class);
 
-        wicketTester.assertModelValue("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
+        TESTER.assertModelValue("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:wizard:form:view:name:textField",
                 "'k' + name");
 
-        formTester = wicketTester.newFormTester("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
+        formTester = TESTER.newFormTester("body:toggle:outerObjectsRepeater:2:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:wizard:form");
         formTester.setValue("view:name:textField", "");
         formTester.submit("buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
     public void reloadConnectors() {
-        wicketTester.clickLink("body:topologyLI:topology");
-        wicketTester.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
-        wicketTester.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:reload",
+        TESTER.executeAjaxEvent("body:syncope", Constants.ON_CLICK);
+        TESTER.assertComponent("body:toggle:container:content:togglePanelContainer:container:actions:reload",
                 AjaxLink.class);
 
-        wicketTester.cleanupFeedbackMessages();
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:reload");
+        TESTER.cleanupFeedbackMessages();
+        TESTER.getRequest().addParameter("confirm", "true");
+        TESTER.clickLink("body:toggle:container:content:togglePanelContainer:container:actions:reload");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
index 253df2e..cdbc514 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/UsersITCase.java
@@ -25,19 +25,19 @@ import org.apache.wicket.Component;
 import org.apache.wicket.markup.html.basic.Label;
 import org.apache.wicket.markup.html.form.TextField;
 import org.apache.wicket.util.tester.FormTester;
-import org.junit.Before;
 import org.junit.FixMethodOrder;
 import org.junit.Test;
 import org.junit.runners.MethodSorters;
 import org.apache.syncope.client.console.commons.Constants;
 import org.apache.syncope.client.console.wicket.markup.html.form.IndicatingOnConfirmAjaxLink;
+import org.junit.Before;
 
 @FixMethodOrder(MethodSorters.JVM)
 public class UsersITCase extends AbstractConsoleITCase {
 
-    private final String tabPanel = "body:content:body:tabbedPanel:panel:searchResult:";
+    private static final String TAB_PANEL = "body:content:body:tabbedPanel:panel:searchResult:";
 
-    private final String searchResultContainer = tabPanel + "container:content:";
+    private static final String SEARCH_RES_CONTAINER = TAB_PANEL + "container:content:";
 
     @Before
     public void login() {
@@ -46,50 +46,50 @@ public class UsersITCase extends AbstractConsoleITCase {
 
     @Test
     public void filteredSearch() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        wicketTester.clickLink("body:content:body:tabbedPanel:panel:accordionPanel:tabs:0:title");
+        TESTER.clickLink("body:content:body:tabbedPanel:panel:accordionPanel:tabs:0:title");
 
-        wicketTester.executeAjaxEvent("body:content:body:tabbedPanel:panel:accordionPanel:tabs:0:body:content:"
+        TESTER.executeAjaxEvent("body:content:body:tabbedPanel:panel:accordionPanel:tabs:0:body:content:"
                 + "searchFormContainer:search:multiValueContainer:innerForm:content:panelPlus:add", Constants.ON_CLICK);
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:body:tabbedPanel:panel:accordionPanel:tabs:0:body:content:searchFormContainer:search:"
                 + "multiValueContainer:innerForm:content:view:0:panel:container:value:textField", TextField.class);
     }
 
     @Test
     public void forceChangePassword() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        Component component = findComponentByProp("username", searchResultContainer
+        Component component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "verdi");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath()
+        TESTER.clickLink(component.getPageRelativePath()
                 + ":cells:6:cell:panelMustChangePassword:MustChangePasswordLink");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     @Test
     public void clickToCloneUser() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        Component component = findComponentByProp("username", searchResultContainer
+        Component component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelClone:cloneLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelClone:cloneLink");
 
-        wicketTester.
-                assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:username:textField",
+        TESTER.
+                assertComponent(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:view:username:textField",
                         TextField.class);
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
         formTester.submit("buttons:cancel");
@@ -97,103 +97,103 @@ public class UsersITCase extends AbstractConsoleITCase {
 
     @Test
     public void editUser() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        Component component = findComponentByProp("username", searchResultContainer
+        Component component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "puccini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
 
-        wicketTester.
-                assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:username:textField",
+        TESTER.
+                assertComponent(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:view:username:textField",
                         TextField.class);
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.assertComponent(tabPanel
+        TESTER.assertComponent(TAB_PANEL
                 + "outerObjectsRepeater:0:outer:form:content:customResultBody:resources:firstLevelContainer:first:"
                 + "container:content:group:beans:0:fields:1:field", Label.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
+        TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
 
-        component = findComponentByProp("username", searchResultContainer
+        component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "puccini");
         assertNotNull(component);
     }
 
     @Test
     public void editUserMembership() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.executeAjaxEvent("body:content:realmChoicePanel:container:realms:btn", Constants.ON_CLICK);
-        wicketTester.executeAjaxEvent("body:content:realmChoicePanel:container:realms:dropdown-menu:buttons:1:button",
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.executeAjaxEvent("body:content:realmChoicePanel:container:realms:btn", Constants.ON_CLICK);
+        TESTER.executeAjaxEvent("body:content:realmChoicePanel:container:realms:dropdown-menu:buttons:1:button",
                 Constants.ON_CLICK);
 
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        Component component = findComponentByProp("username", searchResultContainer
+        Component component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "puccini");
         assertNull(component);
 
-        component = findComponentByProp("username", searchResultContainer
+        component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
         formTester.setValue("view:groups:paletteField:recorder", "additional,root,otherchild");
-        wicketTester.executeAjaxEvent(
-                tabPanel + "outerObjectsRepeater:0:outer:form:content:form:buttons:next", Constants.ON_CLICK);
+        TESTER.executeAjaxEvent(
+                TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:buttons:next", Constants.ON_CLICK);
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
-        wicketTester.executeAjaxEvent("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:0:"
+        TESTER.executeAjaxEvent("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:0:"
                 + "outer:form:content:form:view:membershipsPlainSchemas:0:membershipPlainSchemas:tabs:0:title",
                 Constants.ON_CLICK);
 
@@ -201,54 +201,54 @@ public class UsersITCase extends AbstractConsoleITCase {
                 + "schemas:0:panel:spinner", "1");
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:finish");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
 
-        wicketTester.assertComponent(tabPanel
+        TESTER.assertComponent(TAB_PANEL
                 + "outerObjectsRepeater:0:outer:form:content:customResultBody:resources:firstLevelContainer:first:"
                 + "container:content:group:beans:0:fields:1:field", Label.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
+        TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
 
-        component = findComponentByProp("username", searchResultContainer
+        component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
         // reset ....
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.setValue("view:groups:paletteField:recorder", "root,otherchild");
-        wicketTester.executeAjaxEvent(
-                tabPanel + "outerObjectsRepeater:0:outer:form:content:form:buttons:finish", Constants.ON_CLICK);
+        TESTER.executeAjaxEvent(
+                TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form:buttons:finish", Constants.ON_CLICK);
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.assertInfoMessages("Operation executed successfully");
+        TESTER.cleanupFeedbackMessages();
     }
 
     @Test
     public void checkDeleteUsrLink() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:1:link");
 
-        Component component = findComponentByProp("username", searchResultContainer
+        Component component = findComponentByProp("username", SEARCH_RES_CONTAINER
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.assertComponent(component.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink",
+        TESTER.assertComponent(component.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink",
                 IndicatingOnConfirmAjaxLink.class);
     }
 }


Mime
View raw message