Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dcvezzani/5313046 to your computer and use it in GitHub Desktop.
Save dcvezzani/5313046 to your computer and use it in GitHub Desktop.
With the correct user login, I am not getting the authorization errors I was getting previously.
Feature: Content Pages
Editors should be able to manage their own pages
Background:
# make sure user is logged out
Given I am a guest
When I visit "/my401k/plan_sponsor/create_new_content"
And login as a plan sponsor
...
@javascript
Scenario: An editor can move between tabs (using 'Previous' and 'Next' buttons); the wizard remembers previous selections
When I click on "category-special-offers"
And I click on "Next" on the active tab
And I wait for 1 seconds
And I click on item "#layout-2"
And I wait for 1 seconds
And I click on "Previous" on the active tab
And I wait for 1 seconds
Then there should be a drawn circle around item "#category-special-offers"
And the radio button associated with "#category-special-offers" should be checked
And I click on "Next" on the active tab
And I wait for 1 seconds
Then there should be a drawn circle around item "#layout-2"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment