This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-79b2f343-9ca9-4326-967b-2a78ca48c4c7 XWIKI-25089 Open

Add automated test for "Add a Comment from More Actions Menu"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-185fa59f-9c68-4495-a945-13cb09707cef Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Add a Comment from More Actions Menu"
Issue Type: cid:jira-generated-image-avatar-79b2f343-9ca9-4326-967b-2a78ca48c4c7 Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-306359ee-701a-4384-ac52-efa3b417bc0e Major
Reporter: Vincent Massol
Description:

The manual test is here: Add a Comment from More Actions Menu

Existing automated coverage

Missing automated coverage

  • On the wiki home page (Main.WebHome), open the More Actions menu and click the "Comments" entry (id tmComment); add a page-object method for it, e.g. via BasePage#clickMoreActionsSubMenuEntry("tmComment")
  • Assert the comments viewer is displayed (URL has viewer=comments)
  • Click "Comment", type a comment and click "Add Comment"
  • Navigate to the home page again and assert the comment is listed in the Comments section at the bottom of the page

Suggested location: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/CommentsIT.java

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