This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-4d04e0d9-ec0c-4a82-b960-79241696f07d XWIKI-25122 Open

Add automated test for "View Page Likes"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1ee12ef2-4975-474f-be81-0e8a2228e322 Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "View Page Likes"
Issue Type: cid:jira-generated-image-avatar-4d04e0d9-ec0c-4a82-b960-79241696f07d 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-95a18a1f-7cee-483b-97c2-b35e7d43c36d Major
Reporter: Vincent Massol
Description:

The manual test is here: View Page Likes

Existing automated coverage

Missing automated coverage

  • After two users like a page, open "More actions > Likes" and assert that the likers Live Data lists both users.
  • Click the like-count link next to the Like button (.like-number a) and assert the same likers Live Data.
  • Add page-object methods for both entry points (for example LikeButton#clickLikersLink and a ViewPage more-actions helper).

Suggested location: xwiki-platform-core/xwiki-platform-like/xwiki-platform-like-test/xwiki-platform-like-test-docker/src/test/it/org/xwiki/like/test/ui/LikeIT.java

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