Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dennisinteractive/behat-drupal-paragraphs

Provides Behat steps for Drupal Paragraphs module
https://github.com/dennisinteractive/behat-drupal-paragraphs

behat behat-contexts

Last synced: about 2 months ago
JSON representation

Provides Behat steps for Drupal Paragraphs module

Awesome Lists containing this project

README

        

# Behat Drupal Paragraphs Context

Provides Behat steps for Drupal Paragraphs module

## Installation
1. `composer require dennisdigital/behat-drupal-paragraphs:~1.0.0`

## Usage

### Add context to behat.yml:
Add the context under contexts: `DennisDigital\Behat\Drupal\Paragraphs\Context\ParagraphsContext`

### Step definitions

```gherkin
Given I add the following paragraph to field "fieldname":
Given I add the following paragraph to field "fieldname" on term:
Given I add the following paragraph to field "fieldname" on paragraph "name":
Given I add the following paragraphs to field "fieldname":
Given I add the following paragraphs to field "fieldname" on paragraph "name":
```

See examples on features folder.