Created
May 9, 2014 19:37
-
-
Save EvanAgee/5cb6aaff714571fd17ec to your computer and use it in GitHub Desktop.
Behat test to verify the display of multiple Drupal views
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
Feature: Views Tests | |
As an unauthenticated user | |
I should see various views throughout the site | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Home Page Views | |
Given I am not logged in | |
Then the element "#views_slideshow_cycle_main_sliding_banners-sliding_banner" should exist | |
Then the element ".view-id-ministry_partner" should exist | |
Then the element ".view-id-speaker" should exist | |
Then "#register-block" should be visible | |
Then the element "#mediafront_nodeplayer_default" should exist | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Details Page Views | |
Given I am not logged in | |
And I visit "venue/gateway-southlake" | |
Then the element ".view-display-id-hotel_list" should exist | |
Then the element ".view-display-id-restaurants_list" should exist | |
Then the element ".view-display-id-shops_list" should exist | |
Then the element ".view-display-id-travel_list" should exist | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Details Page Views | |
Given I am not logged in | |
And I visit "speakers" | |
Then the element "#block-views-speaker-speaker-list-featured" should exist | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check FAQ Page Views | |
Given I am not logged in | |
And I visit "faq" | |
Then the element ".view-id-faq" should exist | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Resources Page Views | |
Given I am not logged in | |
And I visit "resources" | |
Then the element ".view-id-video" should exist | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Preferred Partners page Views | |
Given I am not logged in | |
And I visit "preferred-partners" | |
Then the element ".view-id-ministry_partner" should exist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment