syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [3/3] syncope git commit: Speeding up console IT execution
Date Wed, 22 Jun 2016 15:54:24 GMT
Speeding up console IT execution


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

Branch: refs/heads/master
Commit: 87aa699fb9c363555c40311a1fb7dcf2ddf3e8ef
Parents: 0e6481e
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Jun 22 17:54:16 2016 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Jun 22 17:54:16 2016 +0200

----------------------------------------------------------------------
 .../fit/console/AbstractConsoleITCase.java      |  67 ++--
 .../fit/console/AbstractTypesITCase.java        |  95 +++---
 .../fit/console/AjaxPalettePanelITCase.java     |   4 +-
 .../fit/console/AjaxTextFieldITCase.java        |  20 +-
 .../syncope/fit/console/AnyObjectsITCase.java   |  50 +--
 .../fit/console/AnyTypeClassesITCase.java       |  64 ++--
 .../syncope/fit/console/AnyTypesITCase.java     |  57 ++--
 .../apache/syncope/fit/console/BaseITCase.java  |  55 ++--
 .../syncope/fit/console/BulkActionITCase.java   | 104 +++---
 .../fit/console/DisplayAttributesITCase.java    |  24 +-
 .../syncope/fit/console/GroupsITCase.java       |  70 ++--
 .../apache/syncope/fit/console/LogsITCase.java  |  38 +--
 .../fit/console/NotificationsITCase.java        |  97 +++---
 .../syncope/fit/console/ParametersITCase.java   |  66 ++--
 .../syncope/fit/console/PoliciesITCase.java     | 316 +++++++++----------
 .../syncope/fit/console/RealmsITCase.java       |  60 ++--
 .../fit/console/RelationshipTypeITCase.java     |  39 ++-
 .../syncope/fit/console/ReportsITCase.java      | 109 ++++---
 .../apache/syncope/fit/console/RolesITCase.java |  65 ++--
 .../syncope/fit/console/SchemasITCase.java      |  89 +++---
 .../fit/console/SecurityQuestionsITCase.java    |  52 +--
 .../apache/syncope/fit/console/TestPage.java    |   1 -
 .../syncope/fit/console/TopologyITCase.java     | 290 ++++++++---------
 .../apache/syncope/fit/console/UsersITCase.java | 140 ++++----
 24 files changed, 973 insertions(+), 999 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java
index 51c1517..97df15e 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java
@@ -20,7 +20,6 @@ package org.apache.syncope.fit.console;
 
 import java.io.Serializable;
 import java.lang.reflect.Method;
-import java.util.List;
 import javax.servlet.ServletContext;
 import org.apache.syncope.client.console.SyncopeConsoleApplication;
 import org.apache.syncope.client.console.init.ClassPathScanImplementationLookup;
@@ -38,7 +37,7 @@ import org.apache.wicket.util.tester.FormTester;
 import org.apache.wicket.util.tester.WicketTester;
 import org.apache.wicket.util.visit.IVisit;
 import org.apache.wicket.util.visit.IVisitor;
-import org.junit.Before;
+import org.junit.BeforeClass;
 
 public abstract class AbstractConsoleITCase extends AbstractITCase {
 
@@ -46,37 +45,37 @@ public abstract class AbstractConsoleITCase extends AbstractITCase {
 
     protected static final String SCHEMA = "schema";
 
-    protected WicketTester wicketTester;
+    protected static WicketTester TESTER;
 
-    protected SyncopeConsoleApplication testApplicaton;
+    @BeforeClass
+    public static void setUp() {
+        synchronized (KEY) {
+            if (TESTER == null) {
+                TESTER = new WicketTester(new SyncopeConsoleApplication() {
 
-    @Before
-    public void setUp() {
-        testApplicaton = new SyncopeConsoleApplication() {
-
-            @Override
-            protected void init() {
-                final ServletContext ctx = getServletContext();
-                final ClassPathScanImplementationLookup lookup = new ClassPathScanImplementationLookup();
-                lookup.load();
-                ctx.setAttribute(ConsoleInitializer.CLASSPATH_LOOKUP, lookup);
+                    @Override
+                    protected void init() {
+                        ServletContext ctx = getServletContext();
+                        ClassPathScanImplementationLookup lookup = new ClassPathScanImplementationLookup();
+                        lookup.load();
+                        ctx.setAttribute(ConsoleInitializer.CLASSPATH_LOOKUP, lookup);
 
-                final MIMETypesLoader mimeTypes = new MIMETypesLoader();
-                mimeTypes.load();
-                ctx.setAttribute(ConsoleInitializer.MIMETYPES_LOADER, mimeTypes);
+                        MIMETypesLoader mimeTypes = new MIMETypesLoader();
+                        mimeTypes.load();
+                        ctx.setAttribute(ConsoleInitializer.MIMETYPES_LOADER, mimeTypes);
 
-                super.init();
+                        super.init();
+                    }
+                });
             }
-        };
-
-        wicketTester = new WicketTester(testApplicaton);
+        }
     }
 
     protected void doLogin(final String user, final String passwd) {
-        wicketTester.startPage(Login.class);
-        wicketTester.assertRenderedPage(Login.class);
+        TESTER.startPage(Login.class);
+        TESTER.assertRenderedPage(Login.class);
 
-        FormTester formTester = wicketTester.newFormTester("login");
+        FormTester formTester = TESTER.newFormTester("login");
         formTester.setValue("username", user);
         formTester.setValue("password", passwd);
         formTester.submit("submit");
@@ -85,10 +84,9 @@ public abstract class AbstractConsoleITCase extends AbstractITCase {
     protected <V extends Serializable> Component findComponentByProp(
             final String property, final String searchPath, final V key) {
 
-        final Component component = wicketTester.getComponentFromLastRenderedPage(searchPath);
-
-        return (component instanceof MarkupContainer ? MarkupContainer.class.cast(component) : component.getPage())
-                .visitChildren(ListItem.class, new IVisitor<ListItem<?>, Component>() {
+        Component component = TESTER.getComponentFromLastRenderedPage(searchPath);
+        return (component instanceof MarkupContainer ? MarkupContainer.class.cast(component) : component.getPage()).
+                visitChildren(ListItem.class, new IVisitor<ListItem<?>, Component>() {
 
                     @Override
                     public void component(final ListItem<?> object, final IVisit<Component> visit) {
@@ -105,11 +103,9 @@ public abstract class AbstractConsoleITCase extends AbstractITCase {
     }
 
     protected Component findComponentById(final String searchPath, final String id) {
-
-        final Component component = wicketTester.getComponentFromLastRenderedPage(searchPath);
-
-        return (component instanceof MarkupContainer ? MarkupContainer.class.cast(component) : component.getPage())
-                .visitChildren(Component.class, new IVisitor<Component, Component>() {
+        Component component = TESTER.getComponentFromLastRenderedPage(searchPath);
+        return (component instanceof MarkupContainer ? MarkupContainer.class.cast(component) : component.getPage()).
+                visitChildren(Component.class, new IVisitor<Component, Component>() {
 
                     @Override
                     public void component(final Component object, final IVisit<Component> visit) {
@@ -121,10 +117,9 @@ public abstract class AbstractConsoleITCase extends AbstractITCase {
     }
 
     protected void closeCallBack(final Component modal) {
-        final List<? extends Behavior> behaviors = modal.getBehaviors();
-        for (Behavior behavior : behaviors) {
+        for (Behavior behavior : modal.getBehaviors()) {
             if (behavior instanceof AbstractAjaxBehavior) {
-                wicketTester.executeBehavior((AbstractAjaxBehavior) behavior);
+                TESTER.executeBehavior((AbstractAjaxBehavior) behavior);
             }
         }
     }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 575345d..6a395ad 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
@@ -28,7 +28,7 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase {
 
     protected static final String PLAIN_DATATABLE_PATH = "body:content:tabbedPanel:panel:"
             + "accordionPanel:tabs:0:body:content:container:content:searchContainer:resultTable";
-    
+
     protected static final String VIRTUAL_DATATABLE_PATH = "body:content:tabbedPanel:panel:"
             + "accordionPanel:tabs:2:body:content:container:content:searchContainer:resultTable";
 
@@ -41,124 +41,125 @@ public abstract class AbstractTypesITCase extends AbstractConsoleITCase {
     }
 
     protected void browsingToRelationshipType() {
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
-        wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
+        TESTER.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToAnyTypes() {
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
-        wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToAnyTypeClasses() {
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
-        wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void browsingToPlainSchemas() {
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:3:link");
-        wicketTester.assertComponent(PLAIN_DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.assertComponent(PLAIN_DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
-    
+
     protected void browsingToVirtualSchemas() {
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:3:link");
-        wicketTester.assertComponent(VIRTUAL_DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.assertComponent(VIRTUAL_DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
     }
 
     protected void createPlainSchema(final String key) {
         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", key);
         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();
+        TESTER.cleanupFeedbackMessages();
     }
 
     protected void createAnyTypeClassWithoutSchema(final String name) {
         browsingToAnyTypeClasses();
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
-        wicketTester.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
+        TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
+        TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:anyTypeClassDetailsPanel:form:key:textField", name);
 
-        wicketTester.clickLink(
+        TESTER.clearFeedbackMessages();
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
+        TESTER.clearFeedbackMessages();
     }
 
     protected void createAnyType(final String name) {
         browsingToAnyTypes();
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
-        wicketTester.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
+        TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
+        TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:anyTypeDetailsPanel:container:form:key:textField", name);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
+        TESTER.clearFeedbackMessages();
     }
 
     protected void createRelationshipType(final String name) {
         browsingToRelationshipType();
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
+        TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
-        wicketTester.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
+        TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:relationshipTypeDetails:container:form:key:textField", name);
         formTester.setValue(
                 "content:relationshipTypeDetails:container:form:description:textField", "test relationshipType");
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clearFeedbackMessages();
+        TESTER.assertRenderedPage(Types.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxPalettePanelITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxPalettePanelITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxPalettePanelITCase.java
index 1b89ca1..828e40f 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxPalettePanelITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxPalettePanelITCase.java
@@ -46,9 +46,9 @@ public class AjaxPalettePanelITCase extends AbstractConsoleITCase {
                 new TestPage.Builder<String, AjaxPalettePanel<String>>().build(
                         new AjaxPalettePanel.Builder<String>().setAllowOrder(true).build(
                         TestPage.FIELD, SELECTED, ALL));
-        wicketTester.startPage(testPage);
+        TESTER.startPage(testPage);
 
-        FormTester formTester = wicketTester.newFormTester(testPage.getForm().getId());
+        FormTester formTester = TESTER.newFormTester(testPage.getForm().getId());
         formTester.submit();
 
         Collection<String> list = testPage.getFieldPanel().getModelCollection();

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxTextFieldITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxTextFieldITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxTextFieldITCase.java
index 3bd3638..7b56367 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxTextFieldITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AjaxTextFieldITCase.java
@@ -41,8 +41,8 @@ public class AjaxTextFieldITCase extends AbstractConsoleITCase {
         TestPage<String, AjaxTextFieldPanel> testPage =
                 new TestPage.Builder<String, AjaxTextFieldPanel>().build(
                         new AjaxTextFieldPanel(TestPage.FIELD, TestPage.FIELD, textModel));
-        wicketTester.startPage(testPage);
-        FormTester formTester = wicketTester.newFormTester(testPage.getForm().getId());
+        TESTER.startPage(testPage);
+        FormTester formTester = TESTER.newFormTester(testPage.getForm().getId());
         formTester.setValue("field:textField", "");
         formTester.submit();
         assertNull(testPage.getFieldPanel().getField().getDefaultModelObject());
@@ -55,8 +55,8 @@ public class AjaxTextFieldITCase extends AbstractConsoleITCase {
                         new AjaxTextFieldPanel(TestPage.FIELD, TestPage.FIELD, textModel));
         String text = "sometext";
         textModel.setObject(text);
-        wicketTester.startPage(testPage);
-        assertTrue(wicketTester.getLastResponseAsString().contains(Strings.escapeMarkup(text)));
+        TESTER.startPage(testPage);
+        assertTrue(TESTER.getLastResponseAsString().contains(Strings.escapeMarkup(text)));
     }
 
     @Test
@@ -66,8 +66,8 @@ public class AjaxTextFieldITCase extends AbstractConsoleITCase {
                         new AjaxTextFieldPanel(TestPage.FIELD, TestPage.FIELD, textModel));
         testPage.getFieldPanel().getField().setRequired(false);
         testPage.getFieldPanel().getField().add(StringValidator.minimumLength(2));
-        wicketTester.startPage(testPage);
-        FormTester formTester = wicketTester.newFormTester(testPage.getForm().getId());
+        TESTER.startPage(testPage);
+        FormTester formTester = TESTER.newFormTester(testPage.getForm().getId());
         formTester.setValue("field:textField", "");
         formTester.submit();
         assertNull(testPage.getFieldPanel().getDefaultModelObject());
@@ -81,9 +81,9 @@ public class AjaxTextFieldITCase extends AbstractConsoleITCase {
                         new AjaxTextFieldPanel(TestPage.FIELD, TestPage.FIELD, textModel));
         testPage.getFieldPanel().setOutputMarkupId(true);
         testPage.getFieldPanel().getField().setRequired(true);
-        wicketTester.startPage(testPage);
-        wicketTester.assertLabel("form:field:field-label", "field");
-        wicketTester.assertVisible("form:field:required");
-        wicketTester.assertVisible("form:field:externalAction");
+        TESTER.startPage(testPage);
+        TESTER.assertLabel("form:field:field-label", "field");
+        TESTER.assertVisible("form:field:required");
+        TESTER.assertVisible("form:field:externalAction");
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
index bfd04fe..3b5d163 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
@@ -46,32 +46,32 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
 
     @Test
     public void filteredSearch() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3: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 clickToClonePrinter() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
 
         Component component = findComponentByProp("key", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
                 "8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelClone:cloneLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelClone:cloneLink");
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
         formTester.submit("buttons:cancel");
@@ -79,48 +79,48 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
 
     @Test
     public void editPrinter() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
 
         Component component = findComponentByProp("key", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
                 "8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:status:"
                 + "resources:firstLevelContainer:first:container:content:group:beans:0:fields:0", ListItem.class);
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
         formTester.submit("buttons:next");
 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
 
-        formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        formTester = TESTER.newFormTester(tabPanel + "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(tabPanel
                 + "outerObjectsRepeater:0:outer:form:content:customResultBody:resources:"
                 + "firstLevelContainer:first:container:content:group:beans:0:fields:0:field", Label.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
+        TESTER.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
 
         component = findComponentByProp("key", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
@@ -130,15 +130,15 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
 
     @Test
     public void checkDeletePrinterLink() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
 
         Component component = findComponentByProp("key", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
                 "8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
         assertNotNull(component);
 
-        wicketTester.assertComponent(component.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
+        TESTER.assertComponent(component.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
                 IndicatingOnConfirmAjaxLink.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 eeeeaf9..690531f 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
@@ -42,15 +42,15 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
         browsingToAnyTypeClasses();
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, "csv");
-        wicketTester.assertLabel(
+        TESTER.assertLabel(
                 result.getPageRelativePath() + ":cells:1:cell", "csv");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink", IndicatingAjaxLink.class);
-        
-        wicketTester.clickLink(result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent(
+        TESTER.clickLink(result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
+
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
     }
 
@@ -59,33 +59,34 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
         browsingToAnyTypeClasses();
         final String anyTypeClassTest = "anyTypeClassTest";
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
+        TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
 
-        final FormTester formTester
-                = wicketTester.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
+        FormTester formTester =
+                TESTER.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:anyTypeClassDetailsPanel:form:key:textField", anyTypeClassTest);
         formTester.setValue(
                 "content:anyTypeClassDetailsPanel:form:container:derSchemas:paletteField:recorder", "mderiveddata");
 
-        wicketTester.clickLink(
+        TESTER.clearFeedbackMessages();
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clearFeedbackMessages();
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
-        wicketTester.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.assertComponent(DATATABLE_PATH + ":tablePanel:groupForm:checkgroup:dataTable",
                 AjaxFallbackDataTable.class);
 
-        wicketTester.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
+        TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassTest);
 
-        wicketTester.assertLabel(result.getPageRelativePath() + ":cells:3:cell", "[mderiveddata]");
+        TESTER.assertLabel(result.getPageRelativePath() + ":cells:3:cell", "[mderiveddata]");
     }
 
     @Test
@@ -94,23 +95,23 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
         createPlainSchema(plainSchema);
         browsingToAnyTypeClasses();
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:6:cell:panelEdit:editLink", IndicatingAjaxLink.class);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelEdit:editLink");
 
-        final FormTester formTester
-                = wicketTester.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
+        final FormTester formTester =
+                TESTER.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue(
                 "content:anyTypeClassDetailsPanel:form:container:plainSchemas:paletteField:recorder", plainSchema);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     @Test
@@ -118,25 +119,24 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
         final String anyTypeClassName = "zStringDelete";
         createAnyTypeClassWithoutSchema(anyTypeClassName);
         browsingToAnyTypeClasses();
-        wicketTester.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
+        TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
 
         assertNotNull(result);
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink",
                 IndicatingOnConfirmAjaxLink.class);
 
-        wicketTester.getRequest().addParameter("confirm", "true");
-        wicketTester.clickLink(
-                wicketTester.getComponentFromLastRenderedPage(
-                        result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink"));
+        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"), "click");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
         result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
 
         assertNull(result);

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 40ffdf3..4e5ad5f 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
@@ -40,20 +40,20 @@ public class AnyTypesITCase extends AbstractTypesITCase {
     @Test
     public void read() {
         browsingToAnyTypes();
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:"
                 + "checkgroup:dataTable:body:rows:1:cells:1:cell", Label.class);
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, "GROUP");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink", IndicatingAjaxLink.class);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
+        TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
     }
 
     @Test
@@ -61,29 +61,30 @@ public class AnyTypesITCase extends AbstractTypesITCase {
         browsingToAnyTypes();
         final String anyTypeTest = "anyTypeTest2";
 
-        wicketTester.clickLink("body:content:tabbedPanel:panel:container:content:add");
+        TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
 
-        wicketTester.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
+        TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue("content:anyTypeDetailsPanel:container:form:key:textField", anyTypeTest);
         formTester.setValue("content:anyTypeDetailsPanel:container:form:classes:paletteField:recorder", "csv");
 
-        wicketTester.clickLink(
+        TESTER.clearFeedbackMessages();
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clearFeedbackMessages();
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
-        wicketTester.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
 
         Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeTest);
 
-        wicketTester.assertLabel(result.getPageRelativePath() + ":cells:1:cell", anyTypeTest);
-        wicketTester.assertLabel(result.getPageRelativePath() + ":cells:3:cell", "[csv]");
+        TESTER.assertLabel(result.getPageRelativePath() + ":cells:1:cell", anyTypeTest);
+        TESTER.assertLabel(result.getPageRelativePath() + ":cells:3:cell", "[csv]");
     }
 
     @Test
@@ -92,23 +93,24 @@ public class AnyTypesITCase extends AbstractTypesITCase {
         createAnyTypeClassWithoutSchema(name);
         browsingToAnyTypes();
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:"
                 + "body:rows:1:cells:4:cell:panelEdit:editLink", IndicatingAjaxLink.class);
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 DATATABLE_PATH
                 + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:4:cell:panelEdit:editLink");
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
         formTester.setValue(
                 "content:anyTypeDetailsPanel:container:form:classes:paletteField:recorder", name + ",minimal group");
 
-        wicketTester.clickLink(
+        TESTER.clearFeedbackMessages();
+        TESTER.clickLink(
                 "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     @Test
@@ -117,24 +119,23 @@ public class AnyTypesITCase extends AbstractTypesITCase {
         createAnyType(name);
         browsingToAnyTypes();
 
-        wicketTester.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
+        TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
         Component result = findComponentByProp(KEY, DATATABLE_PATH, name);
 
         assertNotNull(result);
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":cells:4: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:4:cell:panelDelete:deleteLink"));
 
-        wicketTester.executeAjaxEvent(wicketTester.getComponentFromLastRenderedPage(
+        TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
                 result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink"), "onclick");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.cleanupFeedbackMessages();
+        TESTER.cleanupFeedbackMessages();
         result = findComponentByProp(KEY, DATATABLE_PATH, name);
 
         assertNull(result);

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 20c7a3d..9e57fc9 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
@@ -39,55 +39,56 @@ public class BaseITCase extends AbstractConsoleITCase {
 
     @Test
     public void loginPage() {
-        wicketTester.startPage(Login.class);
-        wicketTester.assertRenderedPage(Login.class);
+        TESTER.startPage(Login.class);
+        TESTER.assertRenderedPage(Login.class);
     }
 
     @Test
-    public void successfullyLogin() {
+    public void successfulLogin() {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.assertRenderedPage(Dashboard.class);
+        TESTER.assertRenderedPage(Dashboard.class);
     }
 
     @Test
-    public void unsuccessfullyLogin() {
+    public void unsuccessfulLogin() {
         doLogin(ADMIN_UNAME, ADMIN_PWD + 1);
-        wicketTester.assertRenderedPage(Login.class);
+        TESTER.assertRenderedPage(Login.class);
     }
 
     @Test
     public void browsingBookmarkablePageLink() {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.assertRenderedPage(Dashboard.class);
 
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.assertRenderedPage(Realms.class);
+        TESTER.assertRenderedPage(Dashboard.class);
 
-        wicketTester.clickLink("body:topologyLI:topology");
-        wicketTester.assertRenderedPage(Topology.class);
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.assertRenderedPage(Realms.class);
 
-        wicketTester.clickLink("body:reportsLI:reports");
-        wicketTester.assertRenderedPage(Reports.class);
+        TESTER.clickLink("body:topologyLI:topology");
+        TESTER.assertRenderedPage(Topology.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:workflowLI:workflow");
-        wicketTester.assertRenderedPage(Workflow.class);
+        TESTER.clickLink("body:reportsLI:reports");
+        TESTER.assertRenderedPage(Reports.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:logsLI:logs");
-        wicketTester.assertRenderedPage(Logs.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:workflowLI:workflow");
+        TESTER.assertRenderedPage(Workflow.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
-        wicketTester.assertRenderedPage(SecurityQuestions.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:logsLI:logs");
+        TESTER.assertRenderedPage(Logs.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:typesLI:types");
-        wicketTester.assertRenderedPage(Types.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:securityquestionsLI:securityquestions");
+        TESTER.assertRenderedPage(SecurityQuestions.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
-        wicketTester.assertRenderedPage(Roles.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:typesLI:types");
+        TESTER.assertRenderedPage(Types.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:policiesLI:policies");
-        wicketTester.assertRenderedPage(Policies.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:rolesLI:roles");
+        TESTER.assertRenderedPage(Roles.class);
 
-        wicketTester.clickLink("body:configurationLI:configurationUL:notificationsLI:notifications");
-        wicketTester.assertRenderedPage(Notifications.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:policiesLI:policies");
+        TESTER.assertRenderedPage(Policies.class);
+
+        TESTER.clickLink("body:configurationLI:configurationUL:notificationsLI:notifications");
+        TESTER.assertRenderedPage(Notifications.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
index 4955288..5870dd3 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
@@ -44,23 +44,23 @@ public class BulkActionITCase extends AbstractConsoleITCase {
 
     @Test
     public void usersBulkAction() {
-        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
                 + "searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        FormTester formTester = wicketTester.newFormTester(searchResultContainer
+        FormTester formTester = TESTER.newFormTester(searchResultContainer
                 + "searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 2);
 
-        wicketTester.executeAjaxEvent(searchResultContainer + "searchContainer:resultTable:tablePanel:bulkActionLink",
+        TESTER.executeAjaxEvent(searchResultContainer + "searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(searchResultContainer
+        TESTER.assertComponent(searchResultContainer
                 + "searchContainer:resultTable:bulkModal:form:content:content:container", WebMarkupContainer.class);
 
         assertNotNull(findComponentByProp("username", searchResultContainer
@@ -69,17 +69,17 @@ public class BulkActionITCase extends AbstractConsoleITCase {
 
     @Test
     public void userResourceBulkAction() {
-        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
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath()
+        TESTER.clickLink(component.getPageRelativePath()
                 + ":cells:6:cell:panelManageResources:manageResourcesLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", WebMarkupContainer.class);
 
@@ -89,18 +89,18 @@ public class BulkActionITCase extends AbstractConsoleITCase {
                 + "checkgroup:dataTable", "resource-csv");
         assertNotNull(component);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 2);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container", WebMarkupContainer.class);
 
         assertNotNull(findComponentByProp("resourceName", tabPanel + "outerObjectsRepeater:1:outer:"
@@ -111,93 +111,93 @@ public class BulkActionITCase extends AbstractConsoleITCase {
     public void userStatusBulkAction() {
         // suspend 
 
-        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
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", WebMarkupContainer.class);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 2);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container", WebMarkupContainer.class);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:"
                 + "status:secondLevelContainer:second:container:actions:panelSuspend:suspendLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertLabel(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertLabel(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:3:cell", "SUCCESS");
 
         // re-activate
-        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 = findComponentByProp("username", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", WebMarkupContainer.class);
 
-        formTester = wicketTester.newFormTester(
+        formTester = TESTER.newFormTester(
                 tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 2);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container", WebMarkupContainer.class);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:"
                 + "status:secondLevelContainer:second:container:actions:panelReactivate:reactivateLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertLabel(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertLabel(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:3:cell", "SUCCESS");
     }
 
     @Test
     public void groupResourceBulkAction() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
 
         Component component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath()
+        TESTER.clickLink(component.getPageRelativePath()
                 + ":cells:4:cell:panelManageResources:manageResourcesLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", WebMarkupContainer.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
+        TESTER.clickLink(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
                 + "container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
                 + "toolbars:1:headers:2:header:orderByLink", true);
 
@@ -207,18 +207,18 @@ public class BulkActionITCase extends AbstractConsoleITCase {
                 + "checkgroup:dataTable", "ws-target-resource-1");
         assertNotNull(component);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 7);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container", WebMarkupContainer.class);
 
         assertNotNull(findComponentByProp("resourceName", tabPanel + "outerObjectsRepeater:1:outer:"
@@ -227,22 +227,22 @@ public class BulkActionITCase extends AbstractConsoleITCase {
 
     @Test
     public void printerResourceBulkAction() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
 
         Component component = findComponentByProp("key", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
                 "8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath()
+        TESTER.clickLink(component.getPageRelativePath()
                 + ":cells:4:cell:panelManageResources:manageResourcesLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
                 + "checkgroup:dataTable", WebMarkupContainer.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
+        TESTER.clickLink(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
                 + "container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
                 + "toolbars:1:headers:2:header:orderByLink", true);
 
@@ -252,18 +252,18 @@ public class BulkActionITCase extends AbstractConsoleITCase {
                 + "checkgroup:dataTable", "ws-target-resource-1");
         assertNotNull(component);
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 tabPanel + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
                 + "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 7);
 
-        wicketTester.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.executeAjaxEvent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:1:outer:form:content:status:"
                 + "secondLevelContainer:second:container", WebMarkupContainer.class);
 
         assertNotNull(findComponentByProp("resourceName", tabPanel + "outerObjectsRepeater:1:outer:"
@@ -272,25 +272,25 @@ public class BulkActionITCase extends AbstractConsoleITCase {
 
     @Test
     public void executePropagationTask() {
-        wicketTester.clickLink("body:topologyLI:topology");
+        TESTER.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");
 
-        FormTester formTester = wicketTester.newFormTester(
+        FormTester formTester = TESTER.newFormTester(
                 "body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:firstLevelContainer:first:container:"
                 + "content:searchContainer:resultTable:tablePanel:groupForm");
         assertNotNull(formTester);
 
         formTester.select("checkgroup", 0);
 
-        wicketTester.executeAjaxEvent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:"
+        TESTER.executeAjaxEvent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:"
                 + "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
                 Constants.ON_CLICK);
 
-        wicketTester.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:secondLevelContainer:"
+        TESTER.assertComponent("body:toggle:outerObjectsRepeater:1:outer:form:content:tasks:secondLevelContainer:"
                 + "second:container:selectedObjects:body:rows:1:cells:1:cell", Label.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
index e0e02b9..0c7d4a2 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
@@ -32,43 +32,43 @@ public class DisplayAttributesITCase extends AbstractConsoleITCase {
     @Before
     public void login() {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.assertRenderedPage(Realms.class);
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.assertRenderedPage(Realms.class);
     }
 
     @Test
     public void read() {
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
-        wicketTester.clickLink("body:content:body:tabbedPanel:panel:"
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:content:body:tabbedPanel:panel:"
                 + "searchResult:container:content:searchContainer:resultTable:"
                 + "tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
                 + "toolbars:1:headers:4:header:label:panelChangeView:changeViewLink");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer", Modal.class);
     }
 
     @Test
     public void set() {
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
-        wicketTester.clickLink("body:content:body:tabbedPanel:panel:"
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:3:link");
+        TESTER.clickLink("body:content:body:tabbedPanel:panel:"
                 + "searchResult:container:content:searchContainer:resultTable:"
                 + "tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
                 + "toolbars:1:headers:4:header:label:panelChangeView:changeViewLink");
 
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 "body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer", Modal.class);
 
-        final FormTester formTester = wicketTester.newFormTester(
+        final FormTester formTester = TESTER.newFormTester(
                 "body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer:form");
 
         formTester.setValue("content:container:details:paletteField:recorder", "status");
 
-        wicketTester.clickLink(
+        TESTER.clickLink(
                 "body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer:dialog:footer:"
                 + "inputs:0:submit");
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
 
-        wicketTester.clearFeedbackMessages();
+        TESTER.clearFeedbackMessages();
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/fit/core-reference/src/test/java/org/apache/syncope/fit/console/GroupsITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/GroupsITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/GroupsITCase.java
index 6b43018..137397e 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/GroupsITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/GroupsITCase.java
@@ -24,12 +24,12 @@ 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 GroupsITCase extends AbstractConsoleITCase {
@@ -45,62 +45,62 @@ public class GroupsITCase extends AbstractConsoleITCase {
 
     @Test
     public void read() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
 
         Component component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "artDirector");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelMembers:membersLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelMembers:membersLink");
 
-        FormTester formTester = wicketTester.newFormTester("body:content:body:tabbedPanel:panel:searchResult:"
+        FormTester formTester = TESTER.newFormTester("body:content:body:tabbedPanel:panel:searchResult:"
                 + "outerObjectsRepeater:6:outer:container:content:togglePanelContainer:membersForm");
 
         formTester.select("type:dropDownChoiceField", 0);
         formTester.submit("changeit");
 
-        wicketTester.assertModelValue("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:5:outer:"
+        TESTER.assertModelValue("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:5:outer:"
                 + "dialog:header:header-label", "USER members of artDirector");
 
         assertNotNull(findComponentByProp("username", "body:content:body:tabbedPanel:panel:searchResult:"
                 + "outerObjectsRepeater:5:outer:form:content:searchResult:container:content:searchContainer:"
                 + "resultTable:tablePanel:groupForm:checkgroup:dataTable", "puccini"));
 
-        wicketTester.executeAjaxEvent("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:5:"
+        TESTER.executeAjaxEvent("body:content:body:tabbedPanel:panel:searchResult:outerObjectsRepeater:5:"
                 + "outer:dialog:footer:buttons:0:button", Constants.ON_CLICK);
     }
 
     @Test
     public void filteredSearch() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2: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 clickToCloneGroup() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
 
         Component component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelClone:cloneLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelClone:cloneLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:name:textField",
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:name:textField",
                 TextField.class);
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
         assertNotNull(formTester);
 
         formTester.submit("buttons:cancel");
@@ -108,58 +108,58 @@ public class GroupsITCase extends AbstractConsoleITCase {
 
     @Test
     public void editGroup() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
 
         Component component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
         assertNotNull(component);
 
-        wicketTester.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
+        TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
 
-        wicketTester.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:name:textField",
+        TESTER.assertComponent(tabPanel + "outerObjectsRepeater:0:outer:form:content:form:view:name:textField",
                 TextField.class);
 
-        FormTester formTester = wicketTester.newFormTester(tabPanel + "outerObjectsRepeater:0:outer:form:content:form");
+        FormTester formTester = TESTER.newFormTester(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel + "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(tabPanel
                 + "outerObjectsRepeater:0:outer:form:content:customResultBody:resources:firstLevelContainer:first:"
                 + "container:content:group:beans:0:fields:0:field", Label.class);
 
-        wicketTester.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
+        TESTER.clickLink(tabPanel + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
 
         component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
@@ -168,14 +168,14 @@ public class GroupsITCase extends AbstractConsoleITCase {
 
     @Test
     public void checkDeleteGroupLink() {
-        wicketTester.clickLink("body:realmsLI:realms");
-        wicketTester.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
+        TESTER.clickLink("body:realmsLI:realms");
+        TESTER.clickLink("body:content:body:tabbedPanel:tabs-container:tabs:2:link");
 
         Component component = findComponentByProp("name", searchResultContainer
                 + ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
         assertNotNull(component);
 
-        wicketTester.assertComponent(component.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
+        TESTER.assertComponent(component.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
                 IndicatingOnConfirmAjaxLink.class);
     }
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/87aa699f/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 70f5881..f50f22f 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
@@ -41,61 +41,61 @@ public class LogsITCase extends AbstractConsoleITCase {
     @Before
     public void login() {
         doLogin(ADMIN_UNAME, ADMIN_PWD);
-        wicketTester.clickLink("body:configurationLI:configurationUL:logsLI:logs");
-        wicketTester.assertRenderedPage(Logs.class);
+        TESTER.clickLink("body:configurationLI:configurationUL:logsLI:logs");
+        TESTER.assertRenderedPage(Logs.class);
     }
 
     @Test
     public void readCoreLogs() {
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
-        wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
+        TESTER.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         assertNotNull(searchLog(KEY, CONTAINER_PATH, "org.apache.camel"));
     }
 
     @Test
     public void updateCoreLogs() {
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
-        wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:0:link");
+        TESTER.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         Component result = searchLog(KEY, CONTAINER_PATH, "org.apache.camel");
         assertNotNull(result);
 
-        wicketTester.getRequest().addParameter(
+        TESTER.getRequest().addParameter(
                 result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "6");
-        wicketTester.assertComponent(
+        TESTER.assertComponent(
                 result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", DropDownChoice.class);
-        wicketTester.executeAjaxEvent(result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "onchange");
+        TESTER.executeAjaxEvent(result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "onchange");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     @Test
     public void readConsoleLogs() {
-        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);
+        TESTER.assertComponent("body:content:tabbedPanel:tabs-container:tabs:1:link", AjaxFallbackLink.class);
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         assertNotNull(searchLog(KEY, CONTAINER_PATH, "org.apache.syncope.fit"));
     }
 
     @Test
     public void updateConsoleLogs() {
-        wicketTester.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
-        wicketTester.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
+        TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
+        TESTER.assertComponent(CONTAINER_PATH, WebMarkupContainer.class);
 
         Component result = searchLog(KEY, CONTAINER_PATH, "org.apache.syncope.fit");
         assertNotNull(result);
 
-        wicketTester.getRequest().addParameter(
+        TESTER.getRequest().addParameter(
                 result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "6");
-        wicketTester.executeAjaxEvent(result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "onchange");
+        TESTER.executeAjaxEvent(result.getPageRelativePath() + ":fields:1:field:dropDownChoiceField", "onchange");
 
-        wicketTester.assertInfoMessages("Operation executed successfully");
+        TESTER.assertInfoMessages("Operation executed successfully");
     }
 
     private Component searchLog(final String property, final String searchPath, final String key) {
-        Component component = wicketTester.getComponentFromLastRenderedPage(searchPath);
+        Component component = TESTER.getComponentFromLastRenderedPage(searchPath);
 
         Component result = component.getPage().
                 visitChildren(ListItem.class, new IVisitor<ListItem<LoggerTO>, Component>() {


Mime
View raw message