mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Corrected step wording
This commit is contained in:
parent
9841d5b074
commit
df23a6ce1a
@ -8,8 +8,8 @@ Feature: Create a page
|
|||||||
Scenario: I can create a page from the pages section
|
Scenario: I can create a page from the pages section
|
||||||
Given I am logged in with "ADMIN" permissions
|
Given I am logged in with "ADMIN" permissions
|
||||||
And I go to "/admin/pages"
|
And I go to "/admin/pages"
|
||||||
And I should see "Add new" button in CMS Content Toolbar
|
And I should see a "Add new" button in CMS Content Toolbar
|
||||||
When I press "Add new" button
|
When I press the "Add new" button
|
||||||
And I check "Page"
|
And I check "Page"
|
||||||
And I press "Create" button
|
And I press the "Create" button
|
||||||
Then I should see an edit page form
|
Then I should see an edit page form
|
||||||
|
@ -20,9 +20,9 @@ Feature: Edit a page
|
|||||||
Then I should see an edit page form
|
Then I should see an edit page form
|
||||||
|
|
||||||
When I fill in "Title" with "About Us!"
|
When I fill in "Title" with "About Us!"
|
||||||
And I fill in content form with "my new content"
|
And I fill in the content form with "my new content"
|
||||||
And I press "Save Draft" button
|
And I press the "Save Draft" button
|
||||||
Then I should see "Saved." notice
|
Then I should see a "Saved." notice
|
||||||
|
|
||||||
When I follow "About Us"
|
When I follow "About Us"
|
||||||
Then the "Title" field should contain "About Us!"
|
Then the "Title" field should contain "About Us!"
|
||||||
|
@ -11,7 +11,7 @@ Feature: Preview a page
|
|||||||
Then I should see "About Us" in CMS Tree
|
Then I should see "About Us" in CMS Tree
|
||||||
|
|
||||||
When I follow "About Us"
|
When I follow "About Us"
|
||||||
And I press "Preview »" button
|
And I press the "Preview »" button
|
||||||
Then I can see the preview panel
|
Then I can see the preview panel
|
||||||
And the preview contains "About Us"
|
And the preview contains "About Us"
|
||||||
|
|
||||||
@ -25,9 +25,9 @@ Feature: Preview a page
|
|||||||
Then I should see "About Us" in CMS Tree
|
Then I should see "About Us" in CMS Tree
|
||||||
|
|
||||||
When I follow "About Us"
|
When I follow "About Us"
|
||||||
And I fill in content form with "my new content"
|
And I fill in the content form with "my new content"
|
||||||
And I press "Save Draft" button
|
And I press the "Save Draft" button
|
||||||
And I press "Preview »" button
|
And I press the "Preview »" button
|
||||||
|
|
||||||
When I follow "Published Site"
|
When I follow "Published Site"
|
||||||
Then the preview does not contain "my new content"
|
Then the preview does not contain "my new content"
|
||||||
@ -37,5 +37,5 @@ Feature: Preview a page
|
|||||||
Then the preview does not contain "You can fill"
|
Then the preview does not contain "You can fill"
|
||||||
And the preview contains "my new content"
|
And the preview contains "my new content"
|
||||||
|
|
||||||
When I press "« Edit" button
|
When I press the "« Edit" button
|
||||||
Then I should see an edit page form
|
Then I should see an edit page form
|
@ -11,8 +11,8 @@ Feature: Search for a page
|
|||||||
Then I should see "About Us" in CMS Tree
|
Then I should see "About Us" in CMS Tree
|
||||||
And I should see "Contact Us" in CMS Tree
|
And I should see "Contact Us" in CMS Tree
|
||||||
|
|
||||||
When I expand Filter CMS Panel
|
When I expand the "Filter" CMS Panel
|
||||||
And I fill in "Content" with "About Us"
|
And I fill in "Content" with "About Us"
|
||||||
And I press "Apply Filter" button
|
And I press the "Apply Filter" button
|
||||||
Then I should see "About Us" in CMS Tree
|
Then I should see "About Us" in CMS Tree
|
||||||
But I should not see "Contact Us" in CMS Tree
|
But I should not see "Contact Us" in CMS Tree
|
||||||
|
Loading…
x
Reference in New Issue
Block a user