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

Reproduce log reports to use the new logging system (log)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: Logging, Reports
    • Labels:
    • Testing Instructions:
      Hide

      Test 1

      1. Create some course, activity, users.
      2. Go to Site administration -> Reports -> logs
      3. Make sure logs are displayed properly with logs related to recent activity (course viewed/user enrolled etc.)
      4. Filter records by user/date etc. and make sure use see appropriate record.
      5. Try above for legacy log store (Makes sure legacy logs were enabled.)

      Test 2

      1. Go to course
      2. Go to Course administration -> Reports -> logs
      3. Make sure you can see logs related to that course.
      4. Enrol some users and go back to report
      5. Make sure you can see logs related to user enrolment.
      6. Try some filter on report and make sure appropriate records are visible.

      Test 3

      1. In course select a participant
      2. Go to My profile settings -> Activity reports -> All Logs
      3. Make sure you can see graph and user logs
      4. Go to My profile settings -> Activity reports -> Today's log
      5. Make sure you can see graph and user logs
      6. Test for all active readers.

      Test 4

      1. Create a course C1 with separate group and add assignment with separate group.
      2. Create group G1 and G2 in C1
      3. Add S1 and S2 as students in G1 and G2 respectively
      4. As S1 submit an assignment
      5. As S2 submit an assignment
      6. As T1 go to Course administration -> Reports -> logs
      7. Filter log with group G1 and make sure records related to S1 is visible
      8. Filter log with group G2 and make sure records related to S2 is visible
      9. Filter log with All group and make sure records related to S1 and S2 are visible

      Test 5

      1. Run behat --tags @report_log
      Show
      Test 1 Create some course, activity, users. Go to Site administration -> Reports -> logs Make sure logs are displayed properly with logs related to recent activity (course viewed/user enrolled etc.) Filter records by user/date etc. and make sure use see appropriate record. Try above for legacy log store (Makes sure legacy logs were enabled.) Test 2 Go to course Go to Course administration -> Reports -> logs Make sure you can see logs related to that course. Enrol some users and go back to report Make sure you can see logs related to user enrolment. Try some filter on report and make sure appropriate records are visible. Test 3 In course select a participant Go to My profile settings -> Activity reports -> All Logs Make sure you can see graph and user logs Go to My profile settings -> Activity reports -> Today's log Make sure you can see graph and user logs Test for all active readers. Test 4 Create a course C1 with separate group and add assignment with separate group. Create group G1 and G2 in C1 Add S1 and S2 as students in G1 and G2 respectively As S1 submit an assignment As S2 submit an assignment As T1 go to Course administration -> Reports -> logs Filter log with group G1 and make sure records related to S1 is visible Filter log with group G2 and make sure records related to S2 is visible Filter log with All group and make sure records related to S1 and S2 are visible Test 5 Run behat --tags @report_log
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Epic Link:
    • Pull Master Branch:
      wip-mdl-43681
    • Sprint:
      BACKEND Sprint 10

      Description

      Reproduce log reports to use the new logging system (log)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14