Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dennisinteractive/behat-drupal-paragraphs
- Owner: dennisinteractive
- License: mit
- Created: 2018-08-14T10:31:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T07:50:30.000Z (about 3 years ago)
- Last Synced: 2023-03-24T03:26:07.002Z (almost 2 years ago)
- Topics: behat, behat-contexts
- Language: PHP
- Size: 11.7 KB
- Stars: 1
- Watchers: 38
- 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.