From 46c6e9869059c86660fa9b1fa9e93533464b4037 Mon Sep 17 00:00:00 2001 From: pjeanjean Date: Thu, 25 Jan 2024 19:37:08 +0100 Subject: [PATCH] [Misc] Fix UsersGroupsRightsManagementIT failing test --- .../xwiki-platform-administration-test-docker/pom.xml | 7 +++++++ .../test/ui/UsersGroupsRightsManagementIT.java | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/pom.xml b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/pom.xml index 8c7177736c03..f56f138f2b65 100644 --- a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/pom.xml +++ b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/pom.xml @@ -64,6 +64,13 @@ ${project.version} xar + + + org.xwiki.platform + xwiki-platform-user-profile-ui + ${project.version} + xar + diff --git a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/UsersGroupsRightsManagementIT.java b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/UsersGroupsRightsManagementIT.java index 3c8a7371b955..9115d3fa01f1 100644 --- a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/UsersGroupsRightsManagementIT.java +++ b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/UsersGroupsRightsManagementIT.java @@ -45,7 +45,9 @@ @UITest(properties = { // Add the RightsManagerPlugin needed by the test - "xwikiCfgPlugins=com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin" + "xwikiCfgPlugins=com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin", + // Programming rights are required to disable/enable user profiles (cf. XWIKI-21238) + "xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:XWiki\\.XWikiUserProfileSheet" }) public class UsersGroupsRightsManagementIT {