Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ZiiSolutions/ba000ab8d6a47d58921c76b6bd8d6d8d to your computer and use it in GitHub Desktop.
Save ZiiSolutions/ba000ab8d6a47d58921c76b6bd8d6d8d to your computer and use it in GitHub Desktop.
@pacreate
Feature: PA Create Event Images Page tabs
Scenario Outline: Event detail page tabs order
Given I have event detail for the event "<event-id>"
When I navigate to the images tab at url "/create/events/<event-id>/images"
Then the menu tabs will be displayed
And the menu tabs will display in the order
| Summary |
| Leads |
| Images |
| Graphics |
| Social |
| Sidebars |
And the tabs will be rendered according to the assets available
| tabName | selected | tabState | link |
| Summary | false | <summary-state> | /create/events/<event-id> |
| Leads | false | <leads-state> | /create/events/<event-id>/leads |
| Images | true | <images-state> | /create/events/<event-id>/images |
| Graphics | false | <graphics-state> | /create/events/<event-id>/graphics |
| Social | false | <social-state> | /create/events/<event-id>/social |
| Sidebars | false | <sidebars-state> | /create/events/<event-id>/sidebars |
Examples:
| event-id | summary-state | leads-state | images-state | graphics-state | social-state | sidebars-state |
| paevent:showbiz-oscars | enabled | enabled | enabled | enabled | enabled | enabled |
| paevent:sport-cricket | enabled | enabled | enabled | enabled | enabled | enabled |
| paevent:economy-capital | enabled | disabled | enabled | enabled | disabled | enabled |
| paevent:education-teaching| enabled | enabled | enabled | disabled | enabled | disabled |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment