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

Behat test to confirm that a teacher can set the maximum number of attempts allowed for questions in a lesson (Automate MDLQA-80)

XMLWordPrintable

    • 1
    • Team Hedgehog 2023 Review 4

      QA test to be automated: MDLQA-80

      Testing instructions

      This test requires a lesson activity containing more than one question.

      1. Log in as a teacher, update a lesson activity and set
        • 'Allow student review' to No (Under Flow control)
        • 'Provide option to try a question again' to yes (Under Flow control)
        • 'Maximum number of attempts' to 2 (Under Flow control)
        • 'Use default feedback' to yes (Under Appearance)
      2. Log in as a student and attempt the activity.
      3. Answer a question wrongly and and check that the message 'You have 1 attempt(s) remaining' is displayed.
      4. Click the button 'Yes, I'd like to try again' and answer the question wrongly again.
      5. Check that you are no longer allowed to attempt the question.

            andelacruz Angelia Dela Cruz
            andelacruz Angelia Dela Cruz
            Meirza Meirza
            Ilya Tregubov Ilya Tregubov
            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 - 6 hours, 51 minutes
                6h 51m

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