Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25089

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

    XMLWordPrintable

Details

    • Unknown

    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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: