__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@mod @mod_bigbluebuttonbn
Feature: Test the ability to start a meeting
In order to ensure that start meeting capabilities are respected
As a teacher
I need to control who can 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:
| name | Test course |
| shortname | C1 |
And the following "users" exist:
| username | firstname | lastname | email |
| traverst | Terry | Travers | t.travers@example.com |
And the following "course enrolments" exist:
| user | course | role |
| traverst | C1 | <role> |
And the following "activity" exists:
| course | C1 |
| activity | bigbluebuttonbn |
| name | Room recordings |
| idnumber | Room recordings |
| moderators | role:editingteacher |
| wait | <wait> |
When I am on the "Room recordings" Activity page logged in as traverst
Then "Join session" "link" <existence> exist
Examples:
| wait | role | existence |
| 0 | student | should |
| 0 | teacher | should |
| 0 | editingteacher | should |
| 1 | student | should not |
| 1 | teacher | should not |
| 1 | editingteacher | should |
Scenario Outline: Users should be able to join a session if a moderator has already joined
Given the following course exists:
| name | Test course |
| shortname | C1 |
And the following "users" exist:
| username | firstname | lastname | email |
| traverst | Terry | Travers | t.travers@example.com |
And the following "course enrolments" exist:
| user | course | role |
| traverst | C1 | <role> |
And the following "activity" exists:
| course | C1 |
| activity | bigbluebuttonbn |
| name | Room recordings |
| idnumber | Room recordings |
| moderators | role:editingteacher |
| wait | <wait> |
And the following "mod_bigbluebuttonbn > meeting" exists:
| activity | Room recordings |
| moderatorCount | 1 |
When I am on the "Room recordings" Activity page logged in as traverst
Then "Join session" "link" should exist
Examples:
| wait | role |
| 0 | student |
| 0 | editingteacher |
| 1 | student |
| 1 | editingteacher |
Scenario Outline: An administrator should always be allowed to join a meeting
Given the following course exists:
| name | Test course |
| shortname | C1 |
And the following "activity" exists:
| course | C1 |
| activity | bigbluebuttonbn |
| name | Room recordings |
| idnumber | Room recordings |
| moderators | role:editingteacher |
| wait | <wait> |
When I am on the "Room recordings" Activity page logged in as admin
Then "Join session" "link" should exist
Examples:
| wait |
| 0 |
| 1 |
Scenario Outline: A student moderator should be able to start a meeting
Given the following course exists:
| name | Test course |
| shortname | C1 |
And the following "users" exist:
| username | firstname | lastname | email |
| traverst | Terry | Travers | t.travers@example.com |
And the following "course enrolments" exist:
| user | course | role |
| traverst | C1 | student |
And the following "activity" exists:
| course | C1 |
| activity | bigbluebuttonbn |
| name | Room recordings |
| idnumber | Room recordings |
| moderators | <moderators> |
| wait | <wait> |
When I am on the "Room recordings" Activity page logged in as traverst
Then "Join session" "link" should exist
Examples:
| wait | moderators |
| 0 | user:traverst |
| 1 | user:traverst |
| 0 | role:student |
| 1 | role:student |
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fixtures | Folder | 0777 |
|
|
| add_instance.feature | File | 2.57 KB | 0777 |
|
| add_instance_in_empty_state.feature | File | 2.36 KB | 0777 |
|
| behat_mod_bigbluebuttonbn.php | File | 10.28 KB | 0777 |
|
| bigbluebuttonbn_activity_availability.feature | File | 2.31 KB | 0777 |
|
| completion.feature | File | 3.48 KB | 0777 |
|
| edit_instance.feature | File | 3.06 KB | 0777 |
|
| end_meeting.feature | File | 4.45 KB | 0777 |
|
| group_mode.feature | File | 7.95 KB | 0777 |
|
| guest_access.feature | File | 4.28 KB | 0777 |
|
| join_meeting.feature | File | 2.97 KB | 0777 |
|
| join_meeting_as_guest.feature | File | 2.4 KB | 0777 |
|
| lock_settings.feature | File | 2.99 KB | 0777 |
|
| meeting_roles.feature | File | 1.78 KB | 0777 |
|
| recordings.feature | File | 3.85 KB | 0777 |
|
| recordings_import.feature | File | 6.96 KB | 0777 |
|
| roles.feature | File | 1.11 KB | 0777 |
|
| room.feature | File | 2.22 KB | 0777 |
|
| start_meeting.feature | File | 4.41 KB | 0777 |
|
| subplugins.feature | File | 5.99 KB | 0777 |
|
| view_presentation.feature | File | 2.96 KB | 0777 |
|