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

Social activities block has poor documentation for some behat steps

    XMLWordPrintable

    Details

      Description

      Some of the behat setps for the Social activity block seem to be documented incorrectly:

      behat_block_social_activities::activity_in_social_activities_block_should_have_editing_icon() and behat_block_social_activities::activity_in_social_activities_block_should_not_have_editing_icon() have a description of:

      Checks that the specified activity's action menu contains an item.

      This seems to be clearly incorrect, and makes it more difficult for find steps in the acceptance testing tool.

      I expect the correct descriptions should be something along the lines of:

      behat_block_social_activities::activity_in_social_activities_block_should_have_editing_icon

      The specified activity in the social activities block should have the specified editing icon.

      behat_block_social_activities::activity_in_social_activities_block_should_not_have_editing_icon

      The specified activity in the social activities block should not have the specified editing icon.

      I noticed this while looking for action menu related steps in the Acceptance testing admin tool.

        Attachments

          Activity

            People

            Assignee:
            nmagill Neill Magill
            Reporter:
            nmagill Neill Magill
            Peer reviewer:
            Andrew Nicols
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 11 minutes
                11m