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: 8 months ago
JSON representation
Provides Behat steps for Drupal Paragraphs module
- Host: GitHub
- URL: https://github.com/dennisinteractive/behat-drupal-paragraphs
- Owner: dennisinteractive
- License: mit
- Created: 2018-08-14T10:31:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T07:50:30.000Z (almost 5 years ago)
- Last Synced: 2024-12-28T11:28:49.001Z (over 1 year ago)
- Topics: behat, behat-contexts
- Language: PHP
- Size: 11.7 KB
- Stars: 1
- Watchers: 39
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.