Merge branch 'MDL-75460-400' of https://github.com/ssj365/moodle into MOODLE_400_STABLE

This commit is contained in:
Andrew Nicols
2022-09-27 13:03:43 +08:00
5 changed files with 13 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3
View File
@@ -137,6 +137,9 @@ const applyInstanceTypeProfile = (profileType, isFeatureEnabled) => {
// Show recordings imported settings validation.
showInput('id_recordings_imported', showAll ||
isFeatureEnabled(profileType, 'showrecordings'));
// Show lock settings validation.
showFieldset('id_lock', showAll ||
isFeatureEnabled(profileType, 'lock'));
// Preuploadpresentation feature validation.
showFieldset('id_preuploadpresentation', showAll ||
isFeatureEnabled(profileType, 'preuploadpresentation'));
@@ -263,7 +263,7 @@ class bigbluebutton_proxy extends proxy_base {
'id' => instance::TYPE_ROOM_ONLY,
'name' => get_string('instance_type_room_only', 'bigbluebuttonbn'),
'features' => ['showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit',
'recording', 'sendnotifications', 'preuploadpresentation', 'permissions', 'schedule', 'groups',
'recording', 'sendnotifications', 'lock', 'preuploadpresentation', 'permissions', 'schedule', 'groups',
'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection',
'completionattendance', 'completionengagement', 'availabilityconditionsheader']
],
@@ -35,6 +35,13 @@ Feature: bigbluebuttonbn instance
And I should not see "Join session"
And I should see "Recordings"
Scenario: Add a Recording Only activity and check that no live session settings are available for this instance type
Given I am on the "Test course" "course" page logged in as "admin"
And I am on "Test course" course homepage with editing mode on
And I add a "BigBlueButton" to section "1"
When I select "Recordings only" from the "Instance type" singleselect
Then I should not see "Lock settings"
Scenario Outline: Add an activity and check that required settings are available for the three types of instance types
When I turn editing mode on
And I add a "BigBlueButton" to section "1"