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

Attempts remaining for lesson are only displayed when "This page" is set to wrong answers

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-74127-master
    • Hide

      Setup

      1. A course with 2 students enrolled
      2. Restore the attached backup in the course

      Testing scenario 1: Attemps bug

      1. Log in as the student1
      2. Go to the lesson in the course
      3. Answer the first question incorrectly
      4. Confirm you see the message "You have x attempt(s) remaining"
      5. Click on the 'No, I just want to go on to the next question'
      6. Answer the second question incorrectly
      7. Confirm you see the message "You have x attempt(s) remaining"
      8. Log in as an admin
      9. Go to the course created
      10. Go to the lesson in the course
      11. Access to the lesson settings
      12. Update the following settings and save:
        1. Provide option to try a question again - No
      13. Log in as student 2
      14. Go to the lesson in the course
      15. Answer the first question incorrectly
      16. Confirm you do NOT see the message "You have x attempt(s) remaining"
      17. Answer the second question incorrectly
      18. Confirm you do NOT see the message "You have x attempt(s) remaining"

      [ONLY TEST IN MASTER] Testing scenario 2: Tab selected

      1. Log in as admin
      2. Go to the lesson in the course
      3. Answer the first question incorrectly
      4. Confirm you see the 'lesson' tab selected
      Show
      Setup A course with 2 students enrolled Restore the attached backup in the course Testing scenario 1: Attemps bug Log in as the student1 Go to the lesson in the course Answer the first question incorrectly Confirm you see the message "You have x attempt(s) remaining" Click on the 'No, I just want to go on to the next question' Answer the second question incorrectly Confirm you see the message "You have x attempt(s) remaining" Log in as an admin Go to the course created Go to the lesson in the course Access to the lesson settings Update the following settings and save: Provide option to try a question again - No Log in as student 2 Go to the lesson in the course Answer the first question incorrectly Confirm you do NOT see the message "You have x attempt(s) remaining" Answer the second question incorrectly Confirm you do NOT see the message "You have x attempt(s) remaining" [ONLY TEST IN MASTER] Testing scenario 2: Tab selected Log in as admin Go to the lesson in the course Answer the first question incorrectly Confirm you see the 'lesson' tab selected
    • 1
    • QA time

      Steps to reproduce:

      1. Create a lesson with the following settings:
        1. Allow student review - 'Yes'
        2. Provide option to try a question again - 'Yes'
        3. Maximum number of attempts - 3
      2. Add a couple of questions to the lesson.
      3. Edit the first question and set "Jump" to "xxxx" for the incorrect answer (where xxxx is the name of the next lesson question). Do now use "This page" or "Next page"!

      Expected behaviour

      When a wrong answer is given, the " You have x attempt(s) remaining" notification is displayed.

       

      Current behaviour

      When a wrong answer is given, the number of remaining attempts is not displayed.

       

        1. MDL-74127_v311_test 1_4.png
          MDL-74127_v311_test 1_4.png
          89 kB
        2. MDL-74127_v311_test 1_3.png
          MDL-74127_v311_test 1_3.png
          90 kB
        3. MDL-74127_v311_test 1_2.png
          MDL-74127_v311_test 1_2.png
          108 kB
        4. MDL-74127_v311_test 1_1.png
          MDL-74127_v311_test 1_1.png
          102 kB
        5. MDL-74127_test 2.png
          MDL-74127_test 2.png
          91 kB
        6. MDL-74127_master_test 1_4.png
          MDL-74127_master_test 1_4.png
          51 kB
        7. MDL-74127_master_test 1_3.png
          MDL-74127_master_test 1_3.png
          49 kB
        8. MDL-74127_master_test 1_2.png
          MDL-74127_master_test 1_2.png
          68 kB
        9. MDL-74127_master_test 1_1.png
          MDL-74127_master_test 1_1.png
          63 kB
        10. lesson_noattempt.png
          lesson_noattempt.png
          43 kB
        11. lesson_config.png
          lesson_config.png
          39 kB
        12. backup-moodle2-activity-4397-lesson4397-20220314-0844.mbz
          686 kB

            peterdias Peter Dias
            sarjona Sara Arjona (@sarjona)
            Mathew May Mathew May
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 25 minutes
                4h 25m

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