silverstripe-reports/tests/behat/features/create-a-page.feature

16 lines
477 B
Gherkin
Raw Normal View History

2012-11-09 19:15:54 +01:00
@database-defaults
Feature: Create a page
As an author
I want to create a page in the CMS
So that I can grow my website
@javascript
Scenario: I can create a page from the pages section
Given I am logged in with "ADMIN" permissions
And I go to "/admin/pages"
2012-11-09 20:50:16 +01:00
And I should see a "Add new" button in CMS Content Toolbar
When I press the "Add new" button
2012-11-09 19:15:54 +01:00
And I check "Page"
2012-11-09 20:50:16 +01:00
And I press the "Create" button
2012-11-09 19:15:54 +01:00
Then I should see an edit page form