mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-73511 mod_bigbluebuttonbn: exception raised when editing activity
* When editing an activity and the voicebridge_editable is set, there is an exception raised
- Loading branch information
1 parent
541d999
commit c7b7061
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@mod @mod_bigbluebuttonbn @javascript | ||
Feature: I can edit a bigbluebutton instance | ||
When a bibluebutton instance has been created I can edit it | ||
|
||
Background: Make sure that a course is created | ||
Given a BigBlueButton mock server is configured | ||
And the following config values are set as admin: | ||
| bigbluebuttonbn_voicebridge_editable | 1 | | ||
And the following "courses" exist: | ||
| fullname | shortname | category | | ||
| Test course | Test course | 0 | | ||
|
||
Scenario Outline: Add a mod_bigbluebuttonbn instance with Room/Activity with recordings | ||
Then I log in as "admin" | ||
And I am on "Test course" course homepage with editing mode on | ||
When I add a "BigBlueButton" to section "1" and I fill the form with: | ||
| name | <activityname> | | ||
| Instance type | <instancetype> | | ||
| Virtual classroom name | <activityname> | | ||
Given I am on the "<activityname>" "bigbluebuttonbn activity" page logged in as admin | ||
And I click on "Settings" "link" | ||
And the field "Instance type" matches value "<instancetype>" | ||
And I <shouldseerole> "Role assigned during live session" | ||
And I expand all fieldsets | ||
And I <shouldseesession> "Session can be recorded" | ||
Examples: | ||
| activityname | instancetype | shouldseerole | shouldseesession | | ||
| Activity with recording | Room/Activity with recordings | should see | should see | | ||
| Activity only | Room/Activity only | should see | should see | | ||
| Recordings only | Recordings only | should not see | should not see | |