Skip to content

Instantly share code, notes, and snippets.

@ZiiSolutions
Created July 16, 2018 09:40
Show Gist options
  • Save ZiiSolutions/20cdb5deb4b333ef23900e034e6fa54d to your computer and use it in GitHub Desktop.
Save ZiiSolutions/20cdb5deb4b333ef23900e034e6fa54d to your computer and use it in GitHub Desktop.
@pacreate
Feature: PA Create Event Images Page
Scenario: User can initially view 12 images linked to the event
Given I have pictures for the event "paevent:showbiz-oscars"
When I navigate to the images tab at url "/create/events/paevent:showbiz-oscars/images"
Then the images view displays 12 images
And the images are listed in published time descending order
Scenario: Verify first image and it's published time
Given I have pictures for the event "paevent:showbiz-oscars"
When I navigate to the images tab at url "/create/events/paevent:showbiz-oscars/images"
Then the 1st image displays it's published time
And the 1st image displays it's caption
And the 1st image has a download link
And the 1st image is displayed
Scenario: Infinite scroll in PA Create Images tab
When I navigate to the images tab at url "/create/events/paevent:showbiz-oscars/images"
Then the images view displays 12 images
When I scroll down
Then the images view displays more than 12 images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment