mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fixed behat tests
This commit is contained in:
parent
d7435cde71
commit
4087c14d1b
@ -22,7 +22,7 @@ Feature: Edit a page
|
|||||||
When I fill in "Title" with "About Us!"
|
When I fill in "Title" with "About Us!"
|
||||||
And I fill in the "Content" HTML field with "my new content"
|
And I fill in the "Content" HTML field with "my new content"
|
||||||
And I press the "Save Draft" button
|
And I press the "Save Draft" button
|
||||||
Then I should see a "Saved." notice
|
Then I should see a "Saved" button
|
||||||
|
|
||||||
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!"
|
||||||
|
@ -14,6 +14,7 @@ Feature: Preview a page
|
|||||||
And I set the CMS mode to "Preview mode"
|
And I set the CMS mode to "Preview mode"
|
||||||
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"
|
||||||
|
Then I set the CMS mode to "Edit mode"
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# - Only tests correctly on fresh database
|
# - Only tests correctly on fresh database
|
||||||
|
Loading…
Reference in New Issue
Block a user