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

Behat to confirm that teacher can reset H5P activity grading (Automate MDLQA-14760)

    XMLWordPrintable

Details

    Description

      QA test to be automated: MDLQA-14760

      Testing instructions

      This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!

      Some H5P files attached to help with the testing.

      1. As a teacher go to a course and click on 'Turn editing on'.
      2. Create an H5P activity by 'Add an activity or resource' link, and selecting 'H5P' activity.
      3. Fill required 'Name' field and upload a .h5p file to 'Package file' (some .h5p files attached for testing.
      4. Set Grade - Type to 'Point' and 'Maximum grade' to 10.
      5. 'Save and return to course'
      6. Go to the course grades, click on "Turn editing on" button to enable quick grading, and edit:
        1. Student 1: H5P activity "7"
        2. Student 2: H5P activity  "5"
        3. Student 3: H5P activity "0"
      7. Save changes
      8. Confirm there is no error and values are stored.
      9. Go to the course home page and click "Course reuse" in the more menu.
      10. Select "Reset" option in the dropdown menu.
      11. Expand "Gradebook" section and check 'Delete all grades' option.
      12. Click on the "Reset course" button to perform the reset
      13. Confirm there is no error. 
      14. Go to course grades and confirm student grades are empty.

      Attachments

        Issue Links

          Activity

            People

              andelacruz Angelia Dela Cruz
              andelacruz Angelia Dela Cruz
              Simey Lameze Simey Lameze
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 47 minutes
                  1d 1h 47m

                  Clockify

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