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: completion.feature
@mod @mod_bigbluebuttonbn Feature: As a user I can complete a BigblueButtonBN activity by usual or custom criteria Background: Make sure that a course is created Given a BigBlueButton mock server is configured And I accept dpa and enable bigbluebuttonbn plugin And the following "courses" exist: | fullname | shortname | category | enablecompletion | | Test course | C1 | 0 | 1 | And the following "activities" exist: | activity | name | intro | course | idnumber | type | recordings_imported | | bigbluebuttonbn | RoomRecordings | Test Room Recording description | C1 | bigbluebuttonbn1 | 0 | 0 | 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 | Scenario: I set the completion to standard type of completion. Given I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as admin And I click on "Settings" "link" And I expand all fieldsets And I set the following fields to these values: | Completion tracking | Show activity as complete when conditions are met | | Require view | 1 | And I press "Save and display" And I log out Given I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as traverst Then I should see "Done: View" @javascript Scenario: I set the completion type to custom completion Given the following config values are set as admin: | bigbluebuttonbn_meetingevents_enabled | 1 | And I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as admin And I click on "Settings" "link" And I expand all fieldsets And I set the following fields to these values: | Completion tracking | Show activity as complete when conditions are met | | Chats | 1 | And I press "Save and display" # We start the meeting here so to make sure that meta_analytics-callback-url is set. And the following "mod_bigbluebuttonbn > meeting" exists: | activity | RoomRecordings | And I log out Given I am on the "RoomRecordings" "bigbluebuttonbn activity" page logged in as traverst When I click on "Join session" "link" And I switch to "bigbluebutton_conference" window And I wait until the page is ready Then I follow "End Meeting" And the BigBlueButtonBN server has received the following events from user "traverst": | instancename | eventtype | eventdata | | RoomRecordings | chats | 1 | # Selenium driver does not like the click action to be done before we # automatically close the window so we need to make sure that the window # is closed before. And I close all opened windows And I switch to the main window Given the BigBlueButtonBN activity "RoomRecordings" has sent recording all its events And I run all adhoc tasks And I reload the page Then I should see "Done: Participate in 1 chat(s)"
Upload File
Create Folder