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

Update the course homepage to display the activity information

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Setup
      1. Log in as admin.
      2. Download and restore the attached backup file: activity_examples.mbz
      3. Enrol a student to the restored Activity examples course.
      4. Edit the course settings. Under appearance, set "Show activity dates" to "Yes"
      Tests
      1. Log in as the student and go to the Activity examples course.
      2. Scroll through the list of activities.
      3. Confirm that you can see the completion information (e.g. completion conditions or a manual completion button) and activity date information, where available.
      4. Confirm that completion information is not visible for restricted activities (e.g. the 2nd and 3rd chat activities).
      5. Mark the "News forum" as done.
      6. Confirm that it gets marked as done
      7. Confirm that the course homepage reloads and the Assignments section is revealed to the student.
      8. Confirm that the manual completion button for the other activities that haven't been marked done yet are still rendered as "Mark as done"
      9. Mark the "A repeating chat" as done.
      10. Confirm that it gets marked as done.
      11. Confirm that the course homepage gets reloaded and that the other chats are now visible.
      12. Confirm that the completion information for the other chats are also now being displayed.
      13. Mark the "Global warming" H5P activity as done.
      14. Confirm that it gets marked as done.
      15. Confirm that the page does not reload.
      Show
      Setup Log in as admin. Download and restore the attached backup file: activity_examples.mbz Enrol a student to the restored Activity examples course. Edit the course settings. Under appearance, set " Show activity dates " to " Yes " Tests Log in as the student and go to the Activity examples course. Scroll through the list of activities. Confirm that you can see the completion information (e.g. completion conditions or a manual completion button) and activity date information, where available. Confirm that completion information is not visible for restricted activities (e.g. the 2nd and 3rd chat activities). Mark the " News forum " as done. Confirm that it gets marked as done Confirm that the course homepage reloads and the Assignments section is revealed to the student. Confirm that the manual completion button for the other activities that haven't been marked done yet are still rendered as " Mark as done " Mark the " A repeating chat " as done. Confirm that it gets marked as done. Confirm that the course homepage gets reloaded and that the other chats are now visible. Confirm that the completion information for the other chats are also now being displayed. Mark the " Global warming " H5P activity as done. Confirm that it gets marked as done. Confirm that the page does not reload.
    • Affected Branches:
      MOODLE_311_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull 3.11 Branch:
      MDL-70821-311-5
    • Pull Master Branch:
      MDL-70821-master-5
    • Story Points:
      3
    • Sprint:
      Internationals - 3.11 Sprint 8, Internationals - 3.11 Sprint 9

      Description

      We need to update the course homepage to display the activity information.

      We should include relevant behat tests.

        Attachments

        1. activity_examples.mbz
          7.78 MB
        2. MDL-70821_Test Passed.png
          MDL-70821_Test Passed.png
          346 kB
        3. range-diff.png
          range-diff.png
          337 kB
        4. MDL_70821_Test Passed_0413.png
          MDL_70821_Test Passed_0413.png
          329 kB

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              rezaie9 Shamim Rezaie
              Peer reviewer:
              Shamim Rezaie Shamim Rezaie
              Integrator:
              Adrian Greeve Adrian Greeve
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 4 hours, 45 minutes
                  3d 4h 45m