moodle/lib/behat/classes
Simey Lameze baa1e52530 MDL-75887 behat: Add ability to set value regardless of the editor
Prior to this commit, the behat_form_editor integration was hard-coded
to use Atto.

This change allows other editors to be used to set editor values, and
breaks that hard bond. Following this change, any editor is able to
define a behat_editor_[name].php file defining a function which meets
the following signature:

  set_editor_value(string $editorid, string $value): void

Each editor is responsible for checking whether its own API is available
and calling any relevant functions to force the editor to set the
content.

Please note: Behat is unable to determine the current editor in use on
the page automatically.
2022-10-12 06:44:09 +08:00
..
behat_command.php MDL-46778 behat: Allow different database for behat 2021-09-02 14:56:12 +02:00
behat_config_manager.php MDL-73669 behat: allow multiple files with deprecated steps 2022-02-04 17:17:08 +01:00
behat_config_util.php MDL-75559 behat: Sort behat_hooks to top of context list 2022-09-12 12:32:35 +08:00
behat_context_helper.php MDL-75887 behat: Add ability to set value regardless of the editor 2022-10-12 06:44:09 +08:00
behat_core_generator.php Merge branch 'MDL-74613-master' of https://github.com/NoelDeMartin/moodle 2022-06-30 11:02:41 +08:00
behat_generator_base.php MDL-74674 core: create notification generators 2022-06-29 10:31:40 +02:00
behat_selectors.php MDL-66559 behat: Allow per-component selectors and replacements 2019-10-11 12:58:16 +08:00
behat_session_interface.php MDL-64982 behat: Remove deprecated behat timeout constants 2020-12-04 17:07:06 +11:00
behat_session_trait.php MDL-75887 behat: Add ability to set value regardless of the editor 2022-10-12 06:44:09 +08:00
component_named_replacement.php MDL-66559 behat: Documentation for component selectors 2019-10-11 12:58:16 +08:00
component_named_selector.php MDL-66559 behat: Documentation for component selectors 2019-10-11 12:58:16 +08:00
exact_named_selector.php MDL-72849 tool_behat: Use of xpath name() not compatible with Firefox 2021-10-19 13:47:20 +01:00
named_selector.php MDL-66559 behat: Documentation for component selectors 2019-10-11 12:58:16 +08:00
partial_named_selector.php MDL-75155 behat: Add select_menu field type 2022-09-06 13:38:28 +10:00
settable_editor.php MDL-75887 behat: Add ability to set value regardless of the editor 2022-10-12 06:44:09 +08:00
util.php MDL-73592 phpunit: Run adhoc tasks after install 2022-02-18 02:09:49 +11:00