MDL-67668 behat: Add inplace editable field type
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 17 Jun 2020 05:45:15 +0000 (13:45 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 23 Nov 2020 01:01:19 +0000 (09:01 +0800)
commitfd71823ec76341bad93627d149c6bfa0272abd97
tree5422a2f44991fd6200e30b1c8b94e4d7c22a6005
parent548da2ce97e094aa576be1983fe9b4da57d55262
MDL-67668 behat: Add inplace editable field type

This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
admin/tool/behat/tests/behat/inplaceeditable.feature [new file with mode: 0644]
lib/behat/behat_field_manager.php
lib/behat/classes/partial_named_selector.php
lib/behat/form_field/behat_form_field.php
lib/behat/form_field/behat_form_inplaceeditable.php [new file with mode: 0644]