frontkom/drupal-behat-definitions

Useful Behat things we use for Drupal

dev-main 2024-12-22 03:34 UTC

README

Useful Behat things we use for Drupal

Test Packagist Downloads

Installation

composer require --dev frontkom/drupal-behat-definitions

Then you would probably include the contexts you are interested in, inside of your behat.yml file. Here is one example of including the Drupal Gutenberg Context:

       contexts:
+        - Frontkom\DrupalBehatDefinitions\DrupalGutenbergContext
         - Drupal\DrupalExtension\Context\MinkContext
         - Drupal\DrupalExtension\Context\MarkupContext
         - Drupal\DrupalExtension\Context\MessageContext