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:00:46 +0000 (09:00 +0800)
commit0214c50b18429f6bf64cbe830a7b6104205c2169
tree9b5b02466678b702329ce03689ed00d6f3b4f5ec
parente29e8373e67c4381e14580483e376d0b76f4df39
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]