Steps definitions related to mod_quiz.
Copyright: | 2020 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 82 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files question/tests/behat/behat_question_base.php lib/behat/behat_base.php |
behat_core_form:: (2 methods):
resolve_page_url()
resolve_page_instance_url()
Class: behat_core_form - X-Ref
Steps definitions related to core_form.resolve_page_url(string $page) X-Ref |
Convert page names to URLs for steps like 'When I am on the "core_form > [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]" "core_form > [page type]" page'. Recognised page names are: | pagetype | name meaning | description | | Fixture | script-name | Fixture file name without extension | The fixture name should be the filename without path or extension. E.g. autocomplete-disabledif for lib/form/tests/fixtures/autocomplete-disabledif.php. param: string $type identifies which type of page this is, e.g. 'Fixture'. param: string $identifier identifies the particular page, e.g. 'autocomplete-disabledif'. return: moodle_url the corresponding URL. |