drupalextension icon indicating copy to clipboard operation
drupalextension copied to clipboard

Allow to add extra entries to the text and selectors in behat.yml

Open Sweetchuck opened this issue 7 years ago • 1 comments

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.

Sweetchuck avatar Jul 09 '18 09:07 Sweetchuck

We use this patch and find it very useful. Just wondering what is preventing it from getting merged in?

tame4tex avatar Oct 18 '24 20:10 tame4tex

Thanks!

jhedstrom avatar Aug 28 '25 17:08 jhedstrom