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

Course Completion report should support viewing a single user

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72241-master
    • Easy
    • Hide

      Assumptions:

      • there exists a course, course 1, with course completion enabled and an page activity, activity A.
      • Course 1 has enrollments for a teacher (Foo) and multiple students (Bar and Baz).
      • Tester has access to a program capable of opening Excel-compatible CSV for verification of Excel-compatible functionality (step 7.2)
      1. Log in as teacher Foo
      2. Configure course completion
        1. On the course front page, click the settings cog wheel and select the "Course completion" menu item
        2. In the "Edit course completion settings" form, expand "Condition: Activity completion" and check the box for activity A.
        3. Scroll to the bottom of the page and click "Save changes"
      3. Go to student Baz's course 1 profile page
        1. From the course front page, go to the Participants list
        2. Find the row with student Baz and click student Baz's username
      4. Verify a link to "Course completion" appears in the Reports section
      5. Click the "Course completion" link in the Reports section
      6. Verify the Course completion report shows only student Baz
      7. Verify the CSV download links contain only student Baz
        1. Verify the UTF-8-compatible CSV contains only student Baz
          1. Click the "Download in spreadsheet format (UTF-8 .csv)" link
          2. Download the CSV file, opening it in the editor of your choice
          3. Verify the file from 7.1.2 contains 2 lines: the header line and the line with student Baz
        2. Verify the Excel-compatible CSV contains only student Baz
          1. Click the "Download in Excel-compatible format (.csv)" link
          2. Download the CSV file, opening it in Excel
          3. Verify the file from 7.2.2 contains 2 lines: the header line and the line with student Baz

      These are effectively the same as the included Behat tests.

      Show
      Assumptions: there exists a course, course 1, with course completion enabled and an page activity, activity A. Course 1 has enrollments for a teacher (Foo) and multiple students (Bar and Baz). Tester has access to a program capable of opening Excel-compatible CSV for verification of Excel-compatible functionality (step 7.2) Log in as teacher Foo Configure course completion On the course front page, click the settings cog wheel and select the "Course completion" menu item In the "Edit course completion settings" form, expand "Condition: Activity completion" and check the box for activity A. Scroll to the bottom of the page and click "Save changes" Go to student Baz's course 1 profile page From the course front page, go to the Participants list Find the row with student Baz and click student Baz's username Verify a link to "Course completion" appears in the Reports section Click the "Course completion" link in the Reports section Verify the Course completion report shows only student Baz Verify the CSV download links contain only student Baz Verify the UTF-8-compatible CSV contains only student Baz Click the "Download in spreadsheet format (UTF-8 .csv)" link Download the CSV file, opening it in the editor of your choice Verify the file from 7.1.2 contains 2 lines: the header line and the line with student Baz Verify the Excel-compatible CSV contains only student Baz Click the "Download in Excel-compatible format (.csv)" link Download the CSV file, opening it in Excel Verify the file from 7.2.2 contains 2 lines: the header line and the line with student Baz These are effectively the same as the included Behat tests.
    • Hide

      Fails against automated checks.

      Checked MDL-72241 using repository: https://github.com/mattrice/moodle

      Should these errors be fixed?

      Built on: Mon Apr 14 08:17:29 UTC 2025

      Show
      Fails against automated checks. Checked MDL-72241 using repository: https://github.com/mattrice/moodle main [branch: MDL-72241-master | CI Job ] Error: The MDL-72241 -master branch at https://github.com/mattrice/moodle is very old (>60 days ago). Please rebase against current main. Should these errors be fixed? Built on: Mon Apr 14 08:17:29 UTC 2025

      Background

      Sometimes the easiest way to view information for a single user is the find the user (e.g. via the Participants filter), visit the user's (course) profile, and go directly to that user's information: this is currently done with logs and grades. This kind of navigation is especially salient for courses with a large number of users, where the First/Last filter will still return multiple pages of results for a given combination.

      User Story

      As a teacher, I want to view the course completion report for a single user so that I can quickly review and/or update a given user's course completion.

            matt.rice Matt Rice
            matt.rice Matt Rice
            Aya Saad Aya Saad
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:

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