Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-03-27 11:43:26 +02:00
commit c2714ff1af
16 changed files with 25 additions and 15 deletions

View File

@ -6,7 +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 I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test course | Test course | 0 |

View File

@ -52,6 +52,16 @@ class behat_mod_bigbluebuttonbn extends behat_base {
}
}
/**
* Accept dpa and enable bigbluebuttonbn plugin.
*
* @When /^I accept dpa and enable bigbluebuttonbn plugin$/
*/
public function i_accept_dpa_and_enable_bigbluebuttonbn_plugin(): void {
set_config('bigbluebuttonbn_default_dpa_accepted', true);
$this->execute('behat_general::i_enable_plugin', ['bigbluebuttonbn', 'mod']);
}
/**
* Check that the TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER is defined, so we can connect to the mock server.
*

View File

@ -3,7 +3,7 @@ Feature: As a user I can complete a BigblueButtonBN activity by usual or custom
Background: Make sure that a course is created
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category | enablecompletion |
| Test course | C1 | 0 | 1 |

View File

@ -4,7 +4,7 @@ Feature: I can edit a bigbluebutton instance
Background: Make sure that a course is created
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn plugin
And the following config values are set as admin:
| bigbluebuttonbn_voicebridge_editable | 1 |
And the following "courses" exist:

View File

@ -6,7 +6,7 @@ Feature: Test the ability to end a meeting
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn plugin
Scenario Outline: Only a BigBlueButton moderator can end a session
Given the following course exists:

View File

@ -5,7 +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 I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category | groupmode | groupmodeforce |
| Test Course 1 | C1 | 0 | 1 | 1 |

View File

@ -3,7 +3,7 @@ Feature: Guest access allows external users to connect to a meeting
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |

View File

@ -4,7 +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
And I accept dpa and enable bigbluebuttonbn 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.

View File

@ -3,7 +3,7 @@ Feature: Test the ability to run the full meeting lifecycle (start to end) for g
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn plugin
And the following config values are set as admin:
| bigbluebuttonbn_guestaccess_enabled | 1 |
And the following course exists:

View File

@ -6,7 +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
And I accept dpa and enable bigbluebuttonbn plugin
@javascript
Scenario Outline: Teacher should be able to set the right lock feature in a given meeting

View File

@ -6,7 +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
And I accept dpa and enable bigbluebuttonbn plugin
@javascript
Scenario Outline: Users should receive the appropriate role when joining the meeting

View File

@ -4,7 +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 I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |

View File

@ -7,7 +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 I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |

View File

@ -5,7 +5,7 @@ Feature: Set role as Bigbluebuttonbn moderator
I need to see the list of roles
Background:
Given I enable "bigbluebuttonbn" "mod" plugin
Given I accept dpa and enable bigbluebuttonbn plugin
And the following "course" exist:
| fullname | shortname |
| Course 1 | C1 |

View File

@ -3,7 +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 I accept dpa and enable bigbluebuttonbn plugin
And the following "courses" exist:
| fullname | shortname | category |
| Test Course 1 | C1 | 0 |

View File

@ -6,7 +6,7 @@ Feature: Test the ability to start a meeting
Background:
Given a BigBlueButton mock server is configured
And I enable "bigbluebuttonbn" "mod" plugin
And I accept dpa and enable bigbluebuttonbn 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: