AutorÃa | Ultima modificación | Ver Log |
@mod @mod_bigbluebuttonbnFeature: The recording can be managed through the room pageAs a user I am able to see the relevant recording for a given bigbluebutton activity and modify its parametersBackground: Make sure that import recording is enabled and course, activities and recording existsGiven a BigBlueButton mock server is configuredAnd I enable "bigbluebuttonbn" "mod" pluginAnd the following "courses" exist:| fullname | shortname | category || Test Course 1 | C1 | 0 || Test Course 2 | C2 | 0 |And the following "users" exist:| username | firstname | lastname | email || user1 | User | 1 | user1@example.com |And the following "activities" exist:| activity | name | intro | course | idnumber | type | recordings_imported || bigbluebuttonbn | RoomRecordings | Test Room Recording description | C1 | bigbluebuttonbn1 | 0 | 0 |And the following "mod_bigbluebuttonbn > meeting" exists:| activity | RoomRecordings |And the following "mod_bigbluebuttonbn > recordings" exist:| bigbluebuttonbn | name | description | status || RoomRecordings | Recording 1 | Description 1 | 2 || RoomRecordings | Recording 2 | Description 2 | 3 || RoomRecordings | Recording 3 | Description 3 | 0 || RoomRecordings | Recording 4 | Description 4 | 1 |@javascriptScenario: I can see the recordings related to an activityGiven I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as adminAnd "Recording 1" "table_row" should existAnd "Recording 2" "table_row" should existAnd "Recording 3" "table_row" should not existAnd "Recording 4" "table_row" should not exist# Recording 3 will be fetched and metadata will be present so, we will see it.When the BigBlueButtonBN server has sent recording ready notificationsAnd I run the scheduled task "mod_bigbluebuttonbn\task\check_pending_recordings"And I reload the pageThen "Recording 1" "table_row" should existAnd "Recording 2" "table_row" should existAnd "Recording 3" "table_row" should existAnd "Recording 4" "table_row" should not exist@javascriptScenario: I can rename the recordingGiven I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as adminWhen I set the field "Edit name" in the "Recording 1" "table_row" to "Recording with an updated name 1"Then I should see "Recording with an updated name 1"And I should see "Recording 2"And I reload the pageAnd I should see "Recording with an updated name 1"And I should see "Recording 2"@javascriptScenario: I can set a new description for this recordingGiven I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as adminWhen I set the field "Edit description" in the "Recording 1" "table_row" to "This is a new recording description 1"Then I should see "This is a new recording description 1"And I should see "Description 2" in the "Recording 2" "table_row"And I reload the pageAnd I should see "This is a new recording description 1" in the "Recording 1" "table_row"And I should see "Description 2" in the "Recording 2" "table_row"@javascriptScenario: I can delete a recordingGiven I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as adminAnd I change window size to "large"When I click on "a[data-action='delete']" "css_element" in the "Recording 1" "table_row"And I click on "OK" "button" in the "Confirm" "dialogue"Then I should not see "Recording 1"And I should see "Recording 2"And I reload the pageAnd I should not see "Recording 1"And I should see "Recording 2"