Last active
March 12, 2018 21:25
-
-
Save melissamcewen/621aedb1329eff151065c560a6f891e1 to your computer and use it in GitHub Desktop.
See if a pane with a contextual view correctly displays
This file contains hidden or 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
@api | |
Feature: related content appears on articles | |
In order to help visitors find related content | |
Items of the related content type should appear on articles with the same primary taxonomy | |
Scenario: When a related content item and an article have the same taxonomy, the related content item should display on the article | |
Given "taxonomy" terms: | |
| name | | |
| Tag one | | |
And "related_content" content: | |
| title | status | field_primary_taxonomy | field_related_content_type | field_headline | | |
| This is related | 1| Tag one | External | This is related | | |
Given I am viewing an "Article" content: | |
| title | test title | | |
| field_primary_taxonomy | Tag one | | |
| status | 1 | | |
Then I should see the text "Related Content" | |
And I should see the text "This is related" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment