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

Behat test to confirm H5P activity grading settings can be controlled (Automate MDLQA-14758)

XMLWordPrintable

    • 1

      QA test to be automated: MDLQA-14758

      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 a first 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. Create a second H5P activity by 'Add an activity or resource' link, and selecting 'H5P' activity.
      7. Fill required 'Name' field and upload a .h5p file to 'Package file' (some .h5p files attached for testing.
      8. Set Grade - Type to 'Scale' and 'Scale to 'Default competence scale'.
      9. 'Save and return to course'
      10. Go to the course grades, click on "Turn editing on" button to enable quick grading, and edit:
        1. Student 1: 1st H5P activity "50", 2dn H5P activity "Not yet competent"
        2. Student 2: 1st H5P activity  "5", 2dn H5P activity "Competent"
        3. Student 3: 1st H5P activity "0", 2dn H5P activity leave it as "Not graded"
        4. Student 4: leave 1st H5P activity empty, 2dn H5P activity leave it as "Competent"
      11. Save changes
      12. Confirm there is a "The grade entered for {1st H5P activity} for {student 1} is more than the maximum allowed" error
      13. Confirm the values for grading:
        1. Student 1: 1rst H5P "10", 2nd H5P "Not yet competent"
        2. Student 1: 1rst H5P "5", 2nd H5P "Competent"
        3. Student 1: 1rst H5P "0", 2nd H5P "No Grade"
        4. Student 1: 1rst H5P empty, 2nd H5P "Competent"

            andelacruz Angelia Dela Cruz
            andelacruz Angelia Dela Cruz
            Stevani Andolo Stevani Andolo
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 38 minutes
                2d 2h 38m

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