Skip to content

Instantly share code, notes, and snippets.

@ZiiSolutions
Created June 25, 2018 16:07
Show Gist options
  • Save ZiiSolutions/c2af7c7c8905bb632c83cc41007b8170 to your computer and use it in GitHub Desktop.
Save ZiiSolutions/c2af7c7c8905bb632c83cc41007b8170 to your computer and use it in GitHub Desktop.
@pacreate
Feature: PA Create Event Sidebars Page
Scenario: Event Sidebars Page
Given I have sidebars for the event "paevent:showbiz-oscars"
When I navigate to the sidebars tab at url "/create/events/paevent:showbiz-oscars/sidebars"
Then the 1st sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-reaction"
And the sidebar item displays the published time
And the sidebar item displays the first topic
And the sidebar item displays the keywords
And the sidebar item displays the headline
And the sidebar item displays the first body text paragraph
Then the 2nd sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-snub"
And the sidebar item displays the first topic
And the sidebar item displays the keywords
And the sidebar item displays the headline
And the sidebar item displays the first body text paragraph
Then the 3rd sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-winners"
And the sidebar item displays the first topic
And the sidebar item displays the keywords
And the sidebar item displays the headline
And the sidebar item displays the first body text paragraph
Scenario: Event Sidebars Page Asset Overview
Given I have sidebars for the event "paevent:showbiz-oscars"
When I navigate to the sidebars tab at url "/create/events/paevent:showbiz-oscars/sidebars"
Then the 1st sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-reaction"
And the asset overview section does not display a "Images" asset count
And the asset overview section does not display a "Graphics" asset count
And the asset overview section does not display a "Social" asset count
Then the 2nd sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-snub"
And the asset overview section displays asset count text of "Images 4"
And the asset overview section displays asset count text of "Graphics 4"
And the asset overview section displays asset count text of "Social 3"
Then the 4th sidebar on the sidebar tab will link to "/create/events/paevent:showbiz-oscars-party"
And the asset overview section displays asset count text of "Images 3"
And the asset overview section displays asset count text of "Graphics 3"
And the asset overview section displays asset count text of "Social 2"
Scenario: Event Sidebars Page Infinite scroll
When I navigate to the sidebars tab at url "/create/events/paevent:showbiz-oscars/sidebars"
Then the sidebars view displays 20 sidebars associated with the event
When I scroll down
Then the sidebars view displays 33 sidebars associated with the event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment