Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80315

Remove duplicate behat test - course comments block

XMLWordPrintable

    • 1
    • Team Hedgehog 2023 Sprint 4.2
    • Small

      It looks like there is some behat duplication for the comments block, within:

      blocks/comments/tests/behat/block_comment_course.feature
      blocks/comments/tests/behat/add_comment.feature

      The latter (add_comment.feature) is a bit more complete and has been around longer, so I think we should keep it and remove block_comment_course.feature. The only thing missing from add_comment.feature is checking that another user in the course can see the comment that's been made, which we should add and is as easy as adding a login as teacher1 and verifying you see the student1 comment in these 2 scenarios:

      • Add a comment with Javascript enabled
      • Add a comment with Javascript disabled

            andelacruz Angelia Dela Cruz
            michaelh Michael Hawkins
            David Woloszyn David Woloszyn
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 9 minutes
                3h 9m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.