1 |
efrain |
1 |
@mod @mod_bigbluebuttonbn @javascript
|
|
|
2 |
Feature: Set role as Bigbluebuttonbn moderator
|
|
|
3 |
In order to set a room moderator
|
|
|
4 |
As admin
|
|
|
5 |
I need to see the list of roles
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given I enable "bigbluebuttonbn" "mod" plugin
|
|
|
9 |
And the following "course" exist:
|
|
|
10 |
| fullname | shortname |
|
|
|
11 |
| Course 1 | C1 |
|
|
|
12 |
And the following "activity" exists:
|
|
|
13 |
| course | C1 |
|
|
|
14 |
| activity | bigbluebuttonbn |
|
|
|
15 |
| name | RoomRecordings |
|
|
|
16 |
|
|
|
17 |
Scenario: Set the manager role as room moderator
|
|
|
18 |
Given I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page logged in as "admin"
|
|
|
19 |
And I set the field "bigbluebuttonbn_participant_selection_type" to "Role"
|
|
|
20 |
And I set the field "bigbluebuttonbn_participant_selection" to "Manager"
|
|
|
21 |
And I click on "bigbluebuttonbn_participant_selection_add" "button"
|
|
|
22 |
And I set the field "select-for-role-1" to "Moderator"
|
|
|
23 |
And I press "Save and display"
|
|
|
24 |
When I am on the "RoomRecordings" "bigbluebuttonbn activity editing" page
|
|
|
25 |
Then "[name=select-for-role-1] option[value=moderator][selected]" "css_element" should exist
|