See Release Notes
Long Term Support Release
Differences Between: [Versions 400 and 401] [Versions 401 and 403]
Behat custom steps and configuration for mod_bigbluebuttonbn.
Copyright: | 2021 Andrew Lyons <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 244 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_mod_bigbluebuttonbn:: (12 methods):
before_scenario()
i_accept_dpa_and_enable_bigbluebuttonbn_plugin()
mock_is_configured()
get_exact_named_selectors()
get_mocked_server_url()
send_mock_request()
resolve_page_url()
resolve_page_instance_url()
get_course_id()
trigger_recording_ready_notification()
trigger_meeting_event()
trigger_all_events()
Class: behat_mod_bigbluebuttonbn - X-Ref
Behat custom steps and configuration for mod_bigbluebuttonbn.before_scenario(BeforeScenarioScope $scope) X-Ref |
BeforeScenario hook to reset the remote testpoint. param: BeforeScenarioScope $scope |
i_accept_dpa_and_enable_bigbluebuttonbn_plugin() X-Ref |
Accept dpa and enable bigbluebuttonbn plugin. |
mock_is_configured() X-Ref |
Check that the TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER is defined, so we can connect to the mock server. |
get_exact_named_selectors() X-Ref |
Return the list of exact named selectors. return: array |
get_mocked_server_url(string $endpoint = '', array $params = []) X-Ref |
Retrieve the mock server URL from the TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER definition param: string $endpoint param: array $params return: moodle_url |
send_mock_request(string $endpoint, array $params = []) X-Ref |
Send a query to the mock server param: string $endpoint param: array $params |
resolve_page_url(string $page) X-Ref |
Convert page names to URLs for steps like 'When I am on the "[page name]" page'. Recognised page names are: | None so far! | | param: string $page name of the page, with the component name removed e.g. 'Admin notification'. return: moodle_url the corresponding URL. |
resolve_page_instance_url(string $type, string $identifier) X-Ref |
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. Recognised page names are: | pagetype | name meaning | description | | Index | BBB Course Index | The bbb index page (index.php) | param: string $type identifies which type of page this is, e.g. 'Indez'. param: string $identifier identifies the particular page, e.g. 'Mathematics 101'. return: moodle_url the corresponding URL. |
get_course_id(string $identifier) X-Ref |
Get course id from its identifier (shortname or fullname or idnumber) param: string $identifier return: int |
trigger_recording_ready_notification() X-Ref |
Trigger a recording ready notification on BBB side |
trigger_meeting_event(string $username, TableNode $data) X-Ref |
Trigger a meeting event on BBB side param: string $username param: TableNode $data |
trigger_all_events(string $instancename) X-Ref |
Send all events received for this meeting back to moodle param: string $instancename |