Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14131 Moodle 3.9 QA
  3. MDLQA-14723

CLONE - A teacher can set a Safe Exam Browser requiring quiz to display blocks when finished and before start

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.9
    • Fix Version/s: Moodle 3.9
    • Component/s: Quiz, Student, Teacher
    • Labels:

      Description

      Test Pre-requisites:
      This test requires a quiz containing several questions.

      Test Steps showing blocks before the start of the quiz:

      1. Login as an admin, edit the setting displayblocksbeforestart (Site administration → Plugins → Activity modules → Quiz Safe Exam Browser access rule → Display blocks before quiz started) to be checked.
      2. Log in as a teacher, edit the quiz setting for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      3. Go to the quiz, and using "Add a block", add a HTML block.
      4. Configure the block with title "(new HTML block)" now showing using the cog → Configure (new HTML block) block.
      5. Set a title and some text.
      6. Under "Where this block appears", set "Display on page type" to "Quiz information page".
      7. Login as a student and access the quiz.
      8. Do start the quiz attempt (which should trigger Safe Exam Browser to be used).
      9. CONFIRM there IS the HTML block.

      Test Steps suppressing blocks before the start of the quiz:

      1. Login as an admin, edit the setting displayblocksbeforestart (Site administration → Plugins → Activity modules → Quiz Safe Exam Browser access rule → Display blocks before quiz started) not to be checked.
      2. Log in as a teacher, edit the quiz settings for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      3. Go to the quiz, and using "Add a block", add a HTML block.
      4. Configure the block with title "(new HTML block)" now showing using the cog → Configure (new HTML block) block.
      5. Set a title and some text.
      6. Under "Where this block appears", set "Display on page type" to "Quiz information page".
      7. Login as a student and access the quiz.
      8. Do start the quiz attempt (which should trigger Safe Exam Browser to be used).
      9. CONFIRM there is NO block.

      Test Steps showing blocks after the end of the quiz:

      1. Log in as a teacher, edit the quiz settings for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      2. Login as an admin, edit the setting displayblockswhenfinished (Site administration → Plugins → Activity modules → Quiz Safe Exam Browser access rule → Display blocks after quiz finished) to be checked.
      3. Log in as a teacher, edit the settings for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      4. Go to the quiz, and using "Add a block", add a HTML block.
      5. Configure the block with title "(new HTML block)" now showing using the cog → Configure (new HTML block) block.
      6. Set a title and some text.
      7. Under "Where this block appears", set "Display on page type" to "Any quiz module page".
      8. Login as a student and access the quiz.
      9. Do start the quiz attempt (which should trigger Safe Exam Browser to be used).
      10. Submit the quiz attempt and complete the review.
      11. CONFIRM there IS the HTML block.

      Test Steps suppressing blocks after the end of the quiz:

      1. Log in as a teacher, edit the settings for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      2. Login as an admin, edit the setting displayblockswhenfinished (Site administration → Plugins → Activity modules → Quiz Safe Exam Browser access rule → Display blocks after quiz finished) not to be checked.
      3. Log in as a teacher, edit the settings for 'Require the use of Safe Exam Browser' to be 'Yes – Configure manually'.
      4. Go to the quiz, and using "Add a block", add a HTML block.
      5. Configure the block with title "(new HTML block)" now showing using the cog → Configure (new HTML block) block.
      6. Set a title and some text.
      7. Under "Where this block appears", set "Display on page type" to "Any quiz module page".
      8. Login as a student and access the quiz.
      9. Do start the quiz attempt (which should trigger Safe Exam Browser to be used).
      10. Submit the quiz attempt and complete the review
      11. CONFIRM there is NO block.

        Attachments

          Activity

            People

            Assignee:
            wuzi1999 Karen Holland
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: