Skip to content

Instantly share code, notes, and snippets.

@AlexSkrypnyk
Created July 3, 2017 07:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexSkrypnyk/977677b018ad1e45fe2aabd6449eae94 to your computer and use it in GitHub Desktop.
Save AlexSkrypnyk/977677b018ad1e45fe2aabd6449eae94 to your computer and use it in GitHub Desktop.
Page builder paragraphs authoring
Scenario: Page builder paragraphs authoring
Given I create a published 'page_builder' with content:
| title | Example page |
| field_theme | victory |
# Create section with title.
And I add Section paragraph to 'field_page_builder_section' with fields:
| title | Section 1 |
And I add WYSIWYG paragraph to 'field_left' with fields:
| body | W1 body |
And I add Video paragraph to 'field_left' with fields:
| fid | 123 |
# Add accordion with 2 Accordion Items.
And I add Accordion paragraph to 'field_left'
And I add Accordion Item paragraph to 'field_acordion_items' with fields:
| field_body | A1v1 |
And I add Accordion Item paragraph to 'field_acordion_items' with fields:
| field_body | A2v2 |
# Add another accordion with 2 Accordion Items.
And I add Accordion paragraph to 'field_left'
And I add Accordion Item paragraph o 'field_acordion_items' with fields:
| field_body | A1v1 |
And I add Accordion Item paragraph to 'field_acordion_items' with fields:
| field_body | A2v2 |
# Create another section with title.
And I add Section paragraph to 'field_page_builder_section' with fields:
| title | Section 2 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment