X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/bigbluebuttonbn/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
bigbluebuttonbn
/
tests
/
behat
/
📁
..
📄
add_instance.feature
(2.58 KB)
📄
behat_mod_bigbluebuttonbn.php
(8.91 KB)
📄
completion.feature
(3.28 KB)
📄
edit_instance.feature
(1.47 KB)
📄
end_meeting.feature
(4.46 KB)
📄
group_mode.feature
(7.96 KB)
📄
guest_access.feature
(4 KB)
📄
join_meeting.feature
(2.99 KB)
📄
join_meeting_as_guest.feature
(2.42 KB)
📄
lock_settings.feature
(3 KB)
📄
meeting_roles.feature
(1.79 KB)
📄
recordings.feature
(3.86 KB)
📄
recordings_import.feature
(6.97 KB)
📄
roles.feature
(1.11 KB)
📄
room.feature
(2.24 KB)
📄
start_meeting.feature
(4.42 KB)
Editing: end_meeting.feature
@mod @mod_bigbluebuttonbn Feature: Test the ability to end a meeting In order to ensure that end meeting capabilities are respected As a teacher I need to control who can end a meeting Background: Given a BigBlueButton mock server is configured And I accept dpa and enable bigbluebuttonbn plugin Scenario Outline: Only a BigBlueButton moderator can end a session 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 | <moderators> | And the following "mod_bigbluebuttonbn > meeting" exists: | activity | Room recordings | When I am on the "Room recordings" Activity page logged in as traverst Then "End session" "link" <existence> exist Examples: # Note: If the teacher is not listed as a moderator in the activity roles, then will not have permission to end the # session. | moderators | role | existence | | | editingteacher | should not | | | teacher | should not | | | student | should not | | role:teacher | student | should not | | role:teacher | teacher | should | | role:student | student | should | | user:traverst | student | should | Scenario: An administrator can always end 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 | And the following "mod_bigbluebuttonbn > meeting" exists: | activity | Room recordings | When I am on the "Room recordings" Activity page logged in as admin Then "End session" "link" should exist Scenario Outline: Only a BigBlueButton moderator can end a session from the index page 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 | <moderators> | And the following "mod_bigbluebuttonbn > meeting" exists: | activity | Room recordings | When I am on the C1 "mod_bigbluebuttonbn > Index" page logged in as traverst Then "End session" "link" <existence> exist Examples: # Note: If the teacher is not listed as a moderator in the activity roles, then will not have permission to end the # session. | moderators | role | existence | | | editingteacher | should not | | | teacher | should not | | | student | should not | | role:teacher | student | should not | | role:teacher | teacher | should | | role:student | student | should | | user:traverst | student | should | Scenario: An administrator can always end a meeting on the index page 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 | And the following "mod_bigbluebuttonbn > meeting" exists: | activity | Room recordings | When I am on the C1 "mod_bigbluebuttonbn > Index" page logged in as admin Then "End session" "link" should exist
Upload File
Create Folder