Skip to content

Instantly share code, notes, and snippets.

@balsama
Created June 18, 2016 01:59
Show Gist options
  • Save balsama/73ed1b290f6f764f5b76bf1741083fdb to your computer and use it in GitHub Desktop.
Save balsama/73ed1b290f6f764f5b76bf1741083fdb to your computer and use it in GitHub Desktop.
Failing test
@javascript
Scenario: Change the layout of an existing Panelizer Wizard.
Given I am logged in as a user with the "administrator" role
When I go to "/admin/structure/panelizer/edit/node__landing_page__full__default/layout"
And I select "Two column" from "Layout"
And I press "Change Layout"
Then I should be on "/admin/structure/panelizer/edit/node__landing_page__full__default/regions"
And I should see "Old Layout"
And I should see "New Layout"
And I press "Cancel"
And the cache has been cleared
And I am an anonymous user
And I am logged in as a user with the "layout_manager" role
And I go to "/admin/structure/panelizer/add/node/landing_page/full"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment