1 |
efrain |
1 |
@mod @mod_bigbluebuttonbn @javascript
|
|
|
2 |
Feature: bigbluebuttonbn instance
|
|
|
3 |
In order to create a room activity with recordings
|
|
|
4 |
As a user
|
|
|
5 |
I need to add three room activities to an existent course
|
|
|
6 |
|
|
|
7 |
Background: Make sure that a course is created
|
|
|
8 |
Given a BigBlueButton mock server is configured
|
|
|
9 |
And I enable "bigbluebuttonbn" "mod" plugin
|
|
|
10 |
And the following "courses" exist:
|
|
|
11 |
| fullname | shortname | category |
|
|
|
12 |
| Test course | Test course | 0 |
|
|
|
13 |
And the following "activities" exist:
|
|
|
14 |
| activity | course | name | type |
|
|
|
15 |
| bigbluebuttonbn | Test course | BBB Instance name | 0 |
|
|
|
16 |
| bigbluebuttonbn | Test course | BBB Instance name 2 | 1 |
|
|
|
17 |
| bigbluebuttonbn | Test course | BBB Instance name 3 | 2 |
|
|
|
18 |
And I am on the "Test course" "course" page logged in as "admin"
|
|
|
19 |
|
|
|
20 |
Scenario: Add a mod_bigbluebuttonbn instance with Room with recordings
|
|
|
21 |
When I am on the "BBB Instance name" "bigbluebuttonbn activity" page
|
|
|
22 |
Then I should see "This room is ready. You can join the session now."
|
|
|
23 |
And I should see "Join session"
|
|
|
24 |
And I should see "Recordings"
|
|
|
25 |
|
|
|
26 |
Scenario: Add a mod_bigbluebuttonbn instance with Room only
|
|
|
27 |
When I am on the "BBB Instance name 2" "bigbluebuttonbn activity" page
|
|
|
28 |
Then I should see "This room is ready. You can join the session now."
|
|
|
29 |
And I should see "Join session"
|
|
|
30 |
And I should not see "Recordings"
|
|
|
31 |
|
|
|
32 |
Scenario: Add a mod_bigbluebuttonbn instance with Recordings only
|
|
|
33 |
When I am on the "BBB Instance name 3" "bigbluebuttonbn activity" page
|
|
|
34 |
Then I should not see "This room is ready. You can join the session now."
|
|
|
35 |
And I should not see "Join session"
|
|
|
36 |
And I should see "Recordings"
|
|
|
37 |
|
|
|
38 |
Scenario: Add a Recording Only activity and check that no live session settings are available for this instance type
|
|
|
39 |
When I change window size to "large"
|
|
|
40 |
And I add a bigbluebuttonbn activity to course "Test course" section "1"
|
|
|
41 |
And I select "Recordings only" from the "Instance type" singleselect
|
|
|
42 |
Then I should not see "Lock settings"
|
|
|
43 |
|
|
|
44 |
Scenario Outline: Add an activity and check that required settings are available for the three types of instance types
|
|
|
45 |
When I change window size to "large"
|
|
|
46 |
And I add a bigbluebuttonbn activity to course "Test course" section "1"
|
|
|
47 |
And I select "<type>" from the "Instance type" singleselect
|
|
|
48 |
Then I should see "Restrict access"
|
|
|
49 |
|
|
|
50 |
Examples:
|
|
|
51 |
| type |
|
|
|
52 |
| Room with recordings |
|
|
|
53 |
| Room only |
|
|
|
54 |
| Recordings only |
|