This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-fea265fe-c071-4ac8-ab6a-fee38cdee1fe XWIKI-25128 Open

Add automated test for "Change Avatar Image Select Another Image"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-557dca0e-8822-46c5-9ce8-64589bdd55a0 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Change Avatar Image Select Another Image"
Issue Type: cid:jira-generated-image-avatar-fea265fe-c071-4ac8-ab6a-fee38cdee1fe Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-08bf43b6-af4d-44bb-8d1f-d6d68a44089b Major
Reporter: Vincent Massol
Description:

The manual test is here: Change Avatar Image Select Another Image

Existing automated coverage

Related: XWIKI-24757 (open) asks for broader functional tests of the attachment selector macro used by this dialog.

Missing automated coverage

  • After a first avatar is set, click Change photo again and upload a second, different image
  • Submit and assert the profile avatar is now the second image and no longer the first one

Suggested location: xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-profile/xwiki-platform-user-profile-test/xwiki-platform-user-profile-test-docker/src/test/it/org/xwiki/user/test/ui/UserProfileIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).