Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16707

CLONE - A teacher can set a time limit for an assignment




      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      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!

      1. Log in as admin and enable 'Site administration > Plugins > Activity modules > Assignment settings > Enable timed assignments' setting.
      2. Create a new assignment, enable 'Time limit' setting and set to 15 minutes.
      3. Access the assignment created and confirm the time is shown in the summary table.
      4. Log out as admin and log out as a student.
      5. Access the assignment created.
      6. Verify that the time is shown in the summary table.
      7. Click on 'Begin assignment'.
      8. Verify that a modal indicating how much time there is to complete the assignment is shown.
      9. Click on 'Begin assignment'.
      10. On the assessment submission page, verify that the time limit is shown in a block on the right hand side.
      11. Verify that the time limit counts down towards zero.
      12. Verify that if you leave then return to the assignment page, the summary table shows the time limit counting down.
      13. Verify that on the assignment submission and assignment summary page the time limit counter shows the "warning" style (orange/brown background color) when there is less than 15 minutes left.
      14. Verify that on the assignment submission and assignment summary page the time limit counter shows the "danger" (red background) style when there is less than 5 minutes left.


        1. MDLQA-16707-ok.png
          180 kB
          Clement Prudhomme
        2. step10-16707.png
          220 kB
          Clement Prudhomme
        3. step1-16707.png
          323 kB
          Clement Prudhomme
        4. step12a-16707.png
          172 kB
          Clement Prudhomme
        5. step13-16707.png
          205 kB
          Clement Prudhomme
        6. step14-16707.png
          174 kB
          Clement Prudhomme
        7. step2-16707.png
          147 kB
          Clement Prudhomme
        8. step3-16707-no-time-visible.png
          191 kB
          Clement Prudhomme
        9. step6-16707.png
          182 kB
          Clement Prudhomme
        10. step7-16707.png
          213 kB
          Clement Prudhomme
        11. teacher_view_settings.png
          226 kB
          Clement Prudhomme
        12. teacher_view_table.png
          180 kB
          Clement Prudhomme

        Issue Links



              0 Vote for this issue
              4 Start watching this issue




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