AutorÃa | Ultima modificación | Ver Log |
@mod @mod_bigbluebuttonbn @javascriptFeature: Test the ability to run the full meeting lifecycle (start to end)I can start a meeting then end itBackground:Given a BigBlueButton mock server is configuredAnd I enable "bigbluebuttonbn" "mod" pluginAnd the following config values are set as admin:| bigbluebuttonbn_userlimit_editable | 1 |And 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 || uraverst | Uerry | Uravers | u.uravers@example.com || vraverst | Verry | Vravers | v.vravers@example.com |And the following "course enrolments" exist:| user | course | role || traverst | C1 | student || uraverst | C1 | student || vraverst | C1 | student |And the following "activity" exists:| course | C1 || activity | bigbluebuttonbn || name | Room recordings || idnumber | Room recordings || moderators | role:editingteacher || wait | 0 || userlimit | 2 |Scenario: Users should be able to join a meeting then end the meeting for themselves andreturn to the meeting page to join again.When I am on the "Room recordings" Activity page logged in as traverstAnd "Join session" "link" should existAnd I click on "Join session" "link"And I switch to "bigbluebutton_conference" windowAnd I click on "End Meeting" "link"# Selenium driver does not like the click action to be done before we# automatically close the window so we need to make sure that the window# is closed before.And I close all opened windowsAnd I switch to the main windowAnd I reload the pageThen I should see "Room recordings"And I should see "This room is ready. You can join the session now."Scenario: Users can join the meeting until the maximum number of users has been reachedWhen I am on the "Room recordings" Activity page logged in as traverstThen "Join session" "link" should existAnd I click on "Join session" "link"And I switch to the main windowAnd I log outAnd I am on the "Room recordings" Activity page logged in as uraverstAnd "Join session" "link" should existAnd I click on "Join session" "link"And I switch to the main windowAnd I log outAnd I am on the "Room recordings" Activity page logged in as vraverstAnd "Join session" "link" should not existAnd I should see "The limit of how many users allowed in a session has been reached"And I log outAnd I am on the "Room recordings" Activity page logged in as adminAnd "Join session" "link" should not existAnd I should see "The limit of how many users allowed in a session has been reached"