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.
Merge branch 'MDL-77460-400' of https://github.com/lameze/moodle into…
… MOODLE_400_STABLE
- Loading branch information
Showing
1 changed file
with
21 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
@mod @mod_bigbluebuttonbn @javascript | ||
Feature: Bigbluebuttonbn rooms | ||
When a meeting is created, roles for each type of participant can be changed | ||
Feature: Set role as Bigbluebuttonbn moderator | ||
In order to set a room moderator | ||
As admin | ||
I need to see the list of roles | ||
|
||
Background: Make sure that a course is created | ||
Background: | ||
Given I enable "bigbluebuttonbn" "mod" plugin | ||
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 | | ||
And the following "course enrolments" exist: | ||
| user | course | role | | ||
| traverst | C1 | student | | ||
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 "course" exist: | ||
| fullname | shortname | | ||
| Course 1 | C1 | | ||
And the following "activity" exists: | ||
| course | C1 | | ||
| activity | bigbluebuttonbn | | ||
| name | RoomRecordings | | ||
|
||
Scenario: Add a mod_bigbluebuttonbn instance and set the teacher role as moderator | ||
When I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin" | ||
Then I set the field "bigbluebuttonbn_participant_selection_type" to "Role" | ||
Then I set the field "bigbluebuttonbn_participant_selection" to "Manager" | ||
Then I click on "bigbluebuttonbn_participant_selection_add" "button" | ||
Then I set the field "select-for-role-1" to "Moderator" | ||
Then I press "Save and display" | ||
Then I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin" | ||
And "[name=select-for-role-1] option[value=moderator][selected]" "css_element" should exist | ||
Scenario: Set the manager role as room moderator | ||
Given I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin" | ||
And I set the field "bigbluebuttonbn_participant_selection_type" to "Role" | ||
And I set the field "bigbluebuttonbn_participant_selection" to "Manager" | ||
And I click on "bigbluebuttonbn_participant_selection_add" "button" | ||
And I set the field "select-for-role-1" to "Moderator" | ||
And I press "Save and display" | ||
When I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page | ||
Then "[name=select-for-role-1] option[value=moderator][selected]" "css_element" should exist |