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

BBB Custom Completion Fixes

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE
    • MDL-74468-master
    • Hide

      Note: this test requires that the Moodle is visible from outside and that the Bigbluebutton server is setup to enable analytics events.

      This test is also covered by phpunit and behat test. For the tests to work, the mock server should have been updated (and https://github.com/moodlehq/bigbluebutton_mock/pull/23 merged)

      Testing the completion

      1. Make sure that in Admin > Plugins > Bigbluebutton > Experimental Settings : Register live sessions is checked (bigbluebuttonbn_meetingevents_enabled)
      2. Create a course with completion tracking and enrol a student
      3. Create a Big Blue Button activity in the course and set completion tracking to "show activity as complete when conditions are met" and check the "Chats" and "Require raise hand" condition.
      4. Login as a student in that course
      5. Make the student join the meeting
      6. Raise hand
      7. Add a message in the chat
      8. Exit the meeting
      9. Check that on the BBB server the meeting event is sent (if not force it by going into /usr/local/bigbluebutton/core/scripts and running post_events/post_events_analytics_callback.rb  -m <meetingid>, from the list in /var/bigbluebutton/events/).
      10. Run the cron
      11. Refresh the page.
      12. Ensure that BBB activity is marked as completed for the given criteria (chat and raise hand)in main content AND in courseindex areas

       

      Show
      Note: this test requires that the Moodle is visible from outside and that the Bigbluebutton server is setup to enable analytics events. This test is also covered by phpunit and behat test. For the tests to work, the mock server should have been updated (and https://github.com/moodlehq/bigbluebutton_mock/pull/23 merged) Testing the completion Make sure that in Admin > Plugins > Bigbluebutton > Experimental Settings : Register live sessions is checked (bigbluebuttonbn_meetingevents_enabled) Create a course with completion tracking and enrol a student Create a Big Blue Button activity in the course and set completion tracking to "show activity as complete when conditions are met" and check the "Chats" and "Require raise hand" condition. Login as a student in that course Make the student join the meeting Raise hand Add a message in the chat Exit the meeting Check that on the BBB server the meeting event is sent (if not force it by going into /usr/local/bigbluebutton/core/scripts and running post_events/post_events_analytics_callback.rb  -m <meetingid>, from the list in /var/bigbluebutton/events/). Run the cron Refresh the page. Ensure that BBB activity is marked as completed for the given criteria (chat and raise hand)in main content AND in courseindex areas  

      This is a split of some of the MDL-74296 patch that deals with custom completion. There are a couple of things that need to be fixed:

      When a user joins a session, in order to mark the BBB activity as complete, the user must stay in the meeting for a duration of time. Right now a user enters a room and that triggers attendance completion. A minimum duration time must be used to check if the activity should be marked complete.

        1. activity_page.PNG
          96 kB
          Shamiso Jaravaza
        2. image-2022-05-20-19-06-04-145.png
          45 kB
          Laurent DAVID
        3. image-2022-05-20-19-06-46-682.png
          23 kB
          Laurent DAVID
        4. image-2022-05-20-19-07-19-427.png
          25 kB
          Laurent DAVID
        5. image-2022-06-09-17-07-43-935.png
          10 kB
          Laurent DAVID
        6. image-2022-06-09-17-46-55-717.png
          35 kB
          Laurent DAVID
        7. master_1_MDL-74468.png
          51 kB
          John Edward Pedregosa
        8. master_1_MDL-74468-1.png
          54 kB
          John Edward Pedregosa
        9. master_2_MDL-74468.png
          71 kB
          John Edward Pedregosa
        10. master_2_MDL-74468-1.png
          73 kB
          John Edward Pedregosa
        11. no_conditions.PNG
          22 kB
          Shamiso Jaravaza
        12. v400_1_MDL-74468.png
          50 kB
          John Edward Pedregosa
        13. v400_1_MDL-74468-1.png
          46 kB
          John Edward Pedregosa
        14. v400_2_MDL-74468.png
          62 kB
          John Edward Pedregosa
        15. v400_2_MDL-74468-1.png
          70 kB
          John Edward Pedregosa

            lmdavid Laurent DAVID
            shamiso.jaravaza Shamiso Jaravaza
            Shamiso Jaravaza Shamiso Jaravaza
            Andrew Lyons Andrew Lyons
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 8 minutes
                1d 8m

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