Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-9818

Report logs show site log information

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Original - DO NOT REPORT TEST RESULTS HERE
    • Libraries, Manager

      Reports logs generate charts

      1. Log in as admin.
      2. Visit your profile or another user profile and then click All logs.
        • Make sure a bar chart has been generated for the 24 hrs period.
        • Ensure data shown is as expected.
      3. Go back to profile page and then click Today's logs.
        • Make sure the bar chart is generated.
        • Ensure data shown is as expected.
      4. In a course, go to Participants page and click on a user then click All logs.
        • Make sure the chart is generated in the correct period.
        • Ensure data shown is as expected.
      5. Go back to the user's course profile page and then click Today's logs.
        • Make sure the bar chart is generated.
        • Ensure data shown is as expected.
      6. Edit your config.php and add the following line:
        • $CFG->preferlinegraphs = true;
      7. Visit both report pages and make sure the chart now is displayed on line type.

      Accessing the report through URL should show an error message

      For this test, please ensure the "debug" setting in Site Administration > Development >Debugging is set to "DEVELOPER"

      1. Try to access report/log/graph.php directly on your browser, you should see an error message.
        This way of generating the chart is deprecated, refer to report_log_print_graph()

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

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