AutorÃa | Ultima modificación | Ver Log |
@mod @mod_bigbluebuttonbnFeature: Test the ability to end a meetingIn order to ensure that end meeting capabilities are respectedAs a teacherI need to control who can end a meetingBackground:Given a BigBlueButton mock server is configuredAnd I enable "bigbluebuttonbn" "mod" pluginScenario Outline: Only a BigBlueButton moderator can end a sessionGiven the following course exists:| name | Test course || shortname | C1 |And the following "users" exist:| username | firstname | lastname | email || traverst | Terry | Travers | t.travers@example.com |And the following "course enrolments" exist:| user | course | role || traverst | C1 | <role> |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings || moderators | <moderators> |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | Room recordings |When I am on the "Room recordings" Activity page logged in as traverstThen "End session" "link" <existence> existExamples:# Note: If the teacher is not listed as a moderator in the activity roles, then will not have permission to end the# session.| moderators | role | existence || | editingteacher | should not || | teacher | should not || | student | should not || role:teacher | student | should not || role:teacher | teacher | should || role:student | student | should || user:traverst | student | should |Scenario: An administrator can always end a meetingGiven the following course exists:| name | Test course || shortname | C1 |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | Room recordings |When I am on the "Room recordings" Activity page logged in as adminThen "End session" "link" should existScenario Outline: Only a BigBlueButton moderator can end a session from the index pageGiven the following course exists:| name | Test course || shortname | C1 |And the following "users" exist:| username | firstname | lastname | email || traverst | Terry | Travers | t.travers@example.com |And the following "course enrolments" exist:| user | course | role || traverst | C1 | <role> |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings || moderators | <moderators> |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | Room recordings |When I am on the C1 "mod_bigbluebuttonbn > Index" page logged in as traverstThen "End session" "link" <existence> existExamples:# Note: If the teacher is not listed as a moderator in the activity roles, then will not have permission to end the# session.| moderators | role | existence || | editingteacher | should not || | teacher | should not || | student | should not || role:teacher | student | should not || role:teacher | teacher | should || role:student | student | should || user:traverst | student | should |Scenario: An administrator can always end a meeting on the index pageGiven the following course exists:| name | Test course || shortname | C1 |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | Room recordings |When I am on the C1 "mod_bigbluebuttonbn > Index" page logged in as adminThen "End session" "link" should exist