MDL-74584 mod_bigbluebuttonbn: Update behat tests

This commit is contained in:
Mihail Geshoski
2022-05-06 13:32:14 +08:00
parent 674198a799
commit 834c80849c
12 changed files with 12 additions and 0 deletions
@@ -6,6 +6,7 @@ Feature: bigbluebuttonbn instance
Background: Make sure that a course is created
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test course | Test course | 0 |
@@ -4,6 +4,7 @@ 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 I enable "bigbluebuttonbn" "mod" plugin
And the following config values are set as admin:
| bigbluebuttonbn_voicebridge_editable | 1 |
And the following "courses" exist:
@@ -6,6 +6,7 @@ Feature: Test the ability to end a meeting
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
Scenario Outline: Only a BigBlueButton moderator can end a session
Given the following course exists:
@@ -5,6 +5,7 @@ Feature: Test the module in group mode.
# groupmode 1 = separate groups, we force the group
# groupmode 2 = visible group
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And the following "courses" exist:
| fullname | shortname | category | groupmode | groupmodeforce |
| Test Course 1 | C1 | 0 | 1 | 1 |
@@ -4,6 +4,7 @@ Feature: Test the ability to run the full meeting lifecycle (start to end)
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
Scenario: Users should be able to join a meeting then end the meeting for themselves and
return to the meeting page to join again.
@@ -6,6 +6,7 @@ Feature: Test that the meeting has the right lock setting.
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
@javascript
Scenario Outline: Teacher should be able to set the right lock feature in a given meeting
@@ -6,6 +6,7 @@ Feature: Test that meeting roles are sent to the server
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
@javascript
Scenario Outline: Users should receive the appropriate role when joining the meeting
@@ -4,6 +4,7 @@ Feature: The recording can be managed through the room page
Background: Make sure that import recording is enabled and course, activities and recording exists
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |
@@ -7,6 +7,7 @@ Feature: Manage and list recordings
And the following config values are set as admin:
| bigbluebuttonbn_importrecordings_enabled | 1 |
| bigbluebuttonbn_importrecordings_from_deleted_enabled | 1 |
And I enable "bigbluebuttonbn" "mod" plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |
@@ -3,6 +3,7 @@ Feature: Bigbluebuttonbn rooms
When a meeting is created, roles for each type of participant can be changed
Background: Make sure that a course is created
Given I enable "bigbluebuttonbn" "mod" plugin
And the following course exists:
| name | Test course |
| shortname | C1 |
@@ -3,6 +3,7 @@ Feature: The recording can be managed through the room page and as a user I can
Background: Make sure that import recording is enabled and course, activities and recording exists
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |
@@ -6,6 +6,7 @@ Feature: Test the ability to start a meeting
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
Scenario Outline: Users should be able to join a session depending on the Wait for moderator to join setting
Given the following course exists: