drupalextension
drupalextension copied to clipboard
Allow to add extra entries to the text and selectors in behat.yml
Allow to add extra entries to the selectors in behat.yml
The text and selectors is limited to the following items:
default:
extensions:
Drupal\DrupalExtension:
text:
log_in: 'foo',
log_out: 'foo',
password_field: 'foo',
username_field: 'foo',
selectors:
message_selector: 'foo'
success_message_selector: 'foo'
warning_message_selector: 'foo'
error_message_selector: 'foo'
It would be very useful to add custom "text" and "selectors" entries to the behat.yml, and those could be used in custom step definitions.
We use this patch and find it very useful. Just wondering what is preventing it from getting merged in?
Thanks!