mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Adjusted Behat steps to new definition format
This commit is contained in:
parent
5922c1ea35
commit
4fa4ae726b
@ -20,10 +20,10 @@ 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 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 "Save Draft" button
|
||||||
Then I should see a "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!"
|
||||||
And the content form should contain "my new content"
|
And the "Content" HTML field should contain "my new content"
|
@ -25,7 +25,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 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 "Save Draft" button
|
||||||
And I press the "Preview »" button
|
And I press the "Preview »" button
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user