diff --git a/README.md b/README.md index 01663d7..28675b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ # drupal-behat-definitions Useful Behat things we use for Drupal + +[![Test](https://github.com/frontkom/drupal-behat-definitions/actions/workflows/run-tests.yml/badge.svg)](https://github.com/frontkom/drupal-behat-definitions/actions/workflows/run-tests.yml) +[![Packagist Downloads](https://img.shields.io/packagist/dt/frontkom/drupal-behat-definitions)](https://packagist.org/packages/frontkom/drupal-behat-definitions) + + +## Installation + +```bash +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: + +```diff + contexts: ++ - Frontkom\DrupalBehatDefinitions\DrupalGutenbergContext + - Drupal\DrupalExtension\Context\MinkContext + - Drupal\DrupalExtension\Context\MarkupContext + - Drupal\DrupalExtension\Context\MessageContext +```