1 |
efrain |
1 |
@mod @mod_bigbluebuttonbn
|
|
|
2 |
Feature: Test that the meeting has the right lock setting.
|
|
|
3 |
In order to ensure that a meeting creator can lock settings in a meeting
|
|
|
4 |
As a teacher
|
|
|
5 |
I set up locked feature for a given meeting and this should be reflected in the meeting.
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given a BigBlueButton mock server is configured
|
|
|
9 |
And I enable "bigbluebuttonbn" "mod" plugin
|
|
|
10 |
|
|
|
11 |
@javascript
|
|
|
12 |
Scenario Outline: Teacher should be able to set the right lock feature in a given meeting
|
|
|
13 |
Given the following course exists:
|
|
|
14 |
| name | Test course |
|
|
|
15 |
| shortname | C1 |
|
|
|
16 |
And the following "users" exist:
|
|
|
17 |
| username | firstname | lastname | email |
|
|
|
18 |
| traverst | Terry | Travers | t.travers@example.com |
|
|
|
19 |
And the following "course enrolments" exist:
|
|
|
20 |
| user | course | role |
|
|
|
21 |
| traverst | C1 | editingteacher |
|
|
|
22 |
And the following "activity" exists:
|
|
|
23 |
| course | C1 |
|
|
|
24 |
| activity | bigbluebuttonbn |
|
|
|
25 |
| name | Room recordings |
|
|
|
26 |
| idnumber | Room recordings |
|
|
|
27 |
| <locksettingname> | <value> |
|
|
|
28 |
When I am on the "Room recordings" Activity page logged in as traverst
|
|
|
29 |
And I click on "Join session" "link"
|
|
|
30 |
And I switch to "bigbluebutton_conference" window
|
|
|
31 |
Then I should see "<bbbsettingvalue>" in the "lockSettings" "mod_bigbluebuttonbn > Meeting field"
|
|
|
32 |
|
|
|
33 |
Examples:
|
|
|
34 |
| locksettingname | value | bbbsettingvalue |
|
|
|
35 |
| disablecam | 1 | disableCam : enabled |
|
|
|
36 |
| disablemic | 1 | disableMic : enabled |
|
|
|
37 |
| disableprivatechat | 1 | disablePrivateChat : enabled |
|
|
|
38 |
| disablepublicchat | 1 | disablePublicChat : enabled |
|
|
|
39 |
| disablenote | 1 | disableNote : enabled |
|
|
|
40 |
| hideuserlist | 1 | hideUserList : enabled |
|
|
|
41 |
|
|
|
42 |
@javascript
|
|
|
43 |
Scenario: If any lock Setting is enabled, then the LockOnJoin should be enabled
|
|
|
44 |
Given the following course exists:
|
|
|
45 |
| name | Test course |
|
|
|
46 |
| shortname | C1 |
|
|
|
47 |
And the following "users" exist:
|
|
|
48 |
| username | firstname | lastname | email |
|
|
|
49 |
| traverst | Terry | Travers | t.travers@example.com |
|
|
|
50 |
And the following "course enrolments" exist:
|
|
|
51 |
| user | course | role |
|
|
|
52 |
| traverst | C1 | editingteacher |
|
|
|
53 |
And the following "activity" exists:
|
|
|
54 |
| course | C1 |
|
|
|
55 |
| activity | bigbluebuttonbn |
|
|
|
56 |
| name | Room recordings |
|
|
|
57 |
| idnumber | Room recordings |
|
|
|
58 |
| disablecam | 1 |
|
|
|
59 |
When I am on the "Room recordings" Activity page logged in as traverst
|
|
|
60 |
And I click on "Join session" "link"
|
|
|
61 |
And I switch to "bigbluebutton_conference" window
|
|
|
62 |
Then I should see "disableCam : enabled" in the "lockSettings" "mod_bigbluebuttonbn > Meeting field"
|
|
|
63 |
And I should see "lockOnJoin : enabled" in the "lockSettings" "mod_bigbluebuttonbn > Meeting field"
|