This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0ec6c77f-85a5-4c6d-be35-c1f949e4b180 XWIKI-24757 Open

Functional tests missing for the attachment selector macro

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-294acb08-81db-4b25-ae40-a0a5f445c46e Manuel Leduc created this issue on 31/Aug/26 11:00
 
Summary: Functional tests missing for the attachment selector macro
Issue Type: cid:jira-generated-image-avatar-0ec6c77f-85a5-4c6d-be35-c1f949e4b180 Task
Affects Versions: 5.2-milestone-1
Assignee: Unassigned
Components: Development Issues only
Created: 31/Aug/26 11:00
Labels: testneeded
Priority: cid:jira-generated-image-static-major-df1a3b94-6ac8-4f51-900b-b1e9acc48e91 Major
Reporter: Manuel Leduc
Description:

The attachment selector macro is currently poorly covered by functional tests.
The only test using it is org.xwiki.user.test.ui.UserProfileIT#changeAvatarImage through org.xwiki.user.test.po.ProfileUserProfilePage#changeAvatarImage

In addition, the interaction is defined directly in ProfileUserProfilePage instead of being define in a page object in xwiki-platform-attachment-test-pageobjects.