diff --git a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/src/main/java/org/xwiki/index/tree/test/po/PinnedPagesAdministrationSectionPage.java b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/PinnedPagesAdministrationSectionPage.java
similarity index 95%
rename from xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/src/main/java/org/xwiki/index/tree/test/po/PinnedPagesAdministrationSectionPage.java
rename to xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/PinnedPagesAdministrationSectionPage.java
index 6f9ba3b40219..db60fd506cf3 100644
--- a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/src/main/java/org/xwiki/index/tree/test/po/PinnedPagesAdministrationSectionPage.java
+++ b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-pageobjects/src/main/java/org/xwiki/administration/test/po/PinnedPagesAdministrationSectionPage.java
@@ -17,11 +17,10 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-package org.xwiki.index.tree.test.po;
+package org.xwiki.administration.test.po;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
-import org.xwiki.administration.test.po.AdministrationSectionPage;
import org.xwiki.model.reference.SpaceReference;
import org.xwiki.test.ui.po.SuggestInputElement;
diff --git a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/pom.xml b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/pom.xml
index 6ba9576b3b09..af58c2c0e778 100644
--- a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/pom.xml
+++ b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/pom.xml
@@ -83,6 +83,13 @@
${project.version}
test
+
+
+ org.xwiki.platform
+ xwiki-platform-administration-test-pageobjects
+ ${project.version}
+ test
+
src/test/it
diff --git a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/PinnedPagesIT.java b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/PinnedPagesIT.java
index ad16e28664b3..c3b694b69ed8 100644
--- a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/PinnedPagesIT.java
+++ b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-test/xwiki-platform-index-test-docker/src/test/it/org/xwiki/index/test/ui/docker/PinnedPagesIT.java
@@ -27,9 +27,9 @@
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.Keys;
+import org.xwiki.administration.test.po.PinnedPagesAdministrationSectionPage;
import org.xwiki.index.tree.test.po.BreadcrumbTree;
import org.xwiki.index.tree.test.po.DocumentTreeElement;
-import org.xwiki.index.tree.test.po.PinnedPagesAdministrationSectionPage;
import org.xwiki.model.reference.DocumentReference;
import org.xwiki.model.reference.EntityReference;
import org.xwiki.model.reference.SpaceReference;
diff --git a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/pom.xml b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/pom.xml
index 2ac24e5a1c98..2da6f52c1bf2 100644
--- a/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/pom.xml
+++ b/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-tree/xwiki-platform-index-tree-test/xwiki-platform-index-tree-test-pageobjects/pom.xml
@@ -38,12 +38,6 @@
xwiki-platform-tree-test-pageobjects
${project.version}
-
-
- org.xwiki.platform
- xwiki-platform-administration-test-pageobjects
- ${project.version}
-
org.xwiki.platform