Skip to content

Instantly share code, notes, and snippets.

@langelhc
Created January 20, 2017 16:44
Show Gist options
  • Save langelhc/c189eefd87ded78ca5b32c562ba41457 to your computer and use it in GitHub Desktop.
Save langelhc/c189eefd87ded78ca5b32c562ba41457 to your computer and use it in GitHub Desktop.
+Scenario: Build the default display for the basic page content type
+ Given I am an anonymous user
+ And I am viewing an "Program affiliation" term with the name "Test Program Term"
+ And I am viewing an "Story series" term with the name "Test Story Series Term"
+ And I am viewing an "Topics" term with the name "Test Topics Term"
+ And I am viewing a "page" content:
+ | title | Test Page |
+ | body | Test body text. |
+ | field_program_affiliation | Test Program Term |
+ | field_topics | Test Topics Term |
+ | field_story_series | Test Story Series Term |
+ Then I should see the heading "Test Page"
+ And I should see the text "Test Program Term"
+ And I should see the text "Test Story Series Term"
+ And I should see the text "Test Topics Term"
+ And I should see the text "Test body text."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment