Adjusted Behat steps to new definition format

This commit is contained in:
Ingo Schommer 2012-12-10 15:38:32 +01:00
parent 5922c1ea35
commit 4fa4ae726b
2 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,10 @@ Feature: Edit a page
Then I should see an edit page form
When I fill in "Title" with "About Us!"
And I fill in the content form with "my new content"
And I fill in the "Content" HTML field with "my new content"
And I press the "Save Draft" button
Then I should see a "Saved." notice
When I follow "About Us"
Then the "Title" field should contain "About Us!"
And the content form should contain "my new content"
And the "Content" HTML field should contain "my new content"

View File

@ -25,7 +25,7 @@ Feature: Preview a page
Then I should see "About Us" in CMS Tree
When I follow "About Us"
And I fill in the content form 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 "Preview »" button