Skip to content

Commit

Permalink
Merge branch 'main' into feat/behat-definitions-commerce
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsokolowski06 authored Nov 6, 2024
2 parents b6c3027 + e03e9c7 commit e5fd4de
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit e5fd4de

Please sign in to comment.