Created
July 3, 2017 07:54
-
-
Save AlexSkrypnyk/977677b018ad1e45fe2aabd6449eae94 to your computer and use it in GitHub Desktop.
Page builder paragraphs authoring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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