__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@mod @mod_bigbluebuttonbn @javascript
Feature: I can edit a bigbluebutton instance
As a user I can edit a BigbluebuttonBN instance
Background: Make sure that a course is created
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And the following config values are set as admin:
| bigbluebuttonbn_voicebridge_editable | 1 |
And the following "courses" exist:
| fullname | shortname | category | enablecompletion |
| Test course | Test course | 0 | 1 |
Scenario Outline: Add a mod_bigbluebuttonbn instance with Room with recordings
Given the following "activities" exist:
| activity | course | name | type |
| bigbluebuttonbn | Test course | <activityname> | <instancetype> |
When I am on the "<activityname>" "bigbluebuttonbn activity" page logged in as admin
And I click on "Settings" "link"
Then the field "Instance type" matches value "<instancetype>"
And I <shouldseerole> "Role assigned during live session"
And I expand all fieldsets
And I <shouldseesession> "The session may be recorded."
Examples:
| activityname | instancetype | shouldseerole | shouldseesession |
| Activity with recording | 0 | should see | should see |
| Activity only | 1 | should see | should see |
| Recordings only | 2 | should not see | should not see |
Scenario: When the activity completion are locked, all the completion settings, including
the one specific to BigBlueButtonBN are disabled
Given the following "activities" exist:
| activity | course | name | type |
| bigbluebuttonbn | Test course | RoomRecordings | 0 |
And the following config values are set as admin:
| bigbluebuttonbn_config_experimental_features | 1 |
| bigbluebuttonbn_meetingevents_enabled | 1 |
And the following "users" exist:
| username | firstname | lastname |
| student1 | Student1 | 1 |
And the following "course enrolments" exist:
| user | course | role |
| student1 | Test course | student |
And I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
And I expand all fieldsets
And I set the following fields to these values:
| Add requirements | 1 |
| View the activity | 1 |
And I press "Save and return to course"
And I log out
# Then I visit the page first to make sure that completion settings are locked.
And I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as "student1"
And I log out
And I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
When I expand all fieldsets
Then I should see "Completion options locked"
And the "View the activity" "field" should be disabled
And the "Require attendance (minutes)" "field" should be disabled
And the "Chats" "field" should be disabled
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fixtures | Folder | 0777 |
|
|
| add_instance.feature | File | 2.57 KB | 0777 |
|
| add_instance_in_empty_state.feature | File | 2.36 KB | 0777 |
|
| behat_mod_bigbluebuttonbn.php | File | 10.28 KB | 0777 |
|
| bigbluebuttonbn_activity_availability.feature | File | 2.31 KB | 0777 |
|
| completion.feature | File | 3.48 KB | 0777 |
|
| edit_instance.feature | File | 3.06 KB | 0777 |
|
| end_meeting.feature | File | 4.45 KB | 0777 |
|
| group_mode.feature | File | 7.95 KB | 0777 |
|
| guest_access.feature | File | 4.28 KB | 0777 |
|
| join_meeting.feature | File | 2.97 KB | 0777 |
|
| join_meeting_as_guest.feature | File | 2.4 KB | 0777 |
|
| lock_settings.feature | File | 2.99 KB | 0777 |
|
| meeting_roles.feature | File | 1.78 KB | 0777 |
|
| recordings.feature | File | 3.85 KB | 0777 |
|
| recordings_import.feature | File | 6.96 KB | 0777 |
|
| roles.feature | File | 1.11 KB | 0777 |
|
| room.feature | File | 2.22 KB | 0777 |
|
| start_meeting.feature | File | 4.41 KB | 0777 |
|
| subplugins.feature | File | 5.99 KB | 0777 |
|
| view_presentation.feature | File | 2.96 KB | 0777 |
|