项目作者: dennisinteractive

项目描述 :
Provides Behat steps for Drupal Paragraphs module
高级语言: PHP
项目地址: git://github.com/dennisinteractive/behat-drupal-paragraphs.git
创建时间: 2018-08-14T10:31:20Z
项目社区:https://github.com/dennisinteractive/behat-drupal-paragraphs

开源协议:MIT License

下载


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

  1. Given I add the following paragraph to field "fieldname":
  2. Given I add the following paragraph to field "fieldname" on term:
  3. Given I add the following paragraph to field "fieldname" on paragraph "name":
  4. Given I add the following paragraphs to field "fieldname":
  5. Given I add the following paragraphs to field "fieldname" on paragraph "name":

See examples on features folder.