AutorÃa | Ultima modificación | Ver Log |
@mod @mod_bigbluebuttonbnFeature: Test the ability to start a meetingIn order to ensure that start meeting capabilities are respectedAs a teacherI need to control who can start a meetingBackground:Given a BigBlueButton mock server is configuredAnd I enable "bigbluebuttonbn" "mod" pluginScenario Outline: Users should be able to join a session depending on the Wait for moderator to join settingGiven 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 | role:editingteacher || wait | <wait> |When I am on the "Room recordings" Activity page logged in as traverstThen "Join session" "link" <existence> existExamples:| wait | role | existence || 0 | student | should || 0 | teacher | should || 0 | editingteacher | should || 1 | student | should not || 1 | teacher | should not || 1 | editingteacher | should |Scenario Outline: Users should be able to join a session if a moderator has already joinedGiven 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 | role:editingteacher || wait | <wait> |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | Room recordings || moderatorCount | 1 |When I am on the "Room recordings" Activity page logged in as traverstThen "Join session" "link" should existExamples:| wait | role || 0 | student || 0 | editingteacher || 1 | student || 1 | editingteacher |Scenario Outline: An administrator should always be allowed to join 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 || moderators | role:editingteacher || wait | <wait> |When I am on the "Room recordings" Activity page logged in as adminThen "Join session" "link" should existExamples:| wait || 0 || 1 |Scenario Outline: A student moderator should be able to start a meetingGiven 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 | student |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings || moderators | <moderators> || wait | <wait> |When I am on the "Room recordings" Activity page logged in as traverstThen "Join session" "link" should existExamples:| wait | moderators || 0 | user:traverst || 1 | user:traverst || 0 | role:student || 1 | role:student |