Skip to content

Commit

Permalink
changed wording in cucumber tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ugisozols committed Aug 4, 2010
1 parent cee7f5f commit cda8e1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions features/refinery/dashboard.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: Dashboard
When I go to the Dashboard

Scenario: Add New Page Button
And I follow "Add a new page"
When I follow "Add a new page"
Then I should be on the new page form
When I fill in "Title" with "Page test from Dashboard"
And I press "Save"
Expand All @@ -18,26 +18,26 @@ Feature: Dashboard
And I should see "Page test from dashboard page was created"

Scenario: Update a Page Button
And I follow "Update a page"
When I follow "Update a page"
Then I should be on the list of pages

Scenario: Upload a File Button
And I follow "Upload a file"
When I follow "Upload a file"
Then I should be on the new file form

Scenario: Upload an Image Button
And I follow "Upload an image"
When I follow "Upload an image"
Then I should be on the new image form

Scenario: See Home Page Button
And I follow "See home page"
When I follow "See home page"
Then I should be on the home page

Scenario: Translation options available
Then I should see "English Change Language"

Scenario: Change Language to Slovenian and back to English
And I follow "English Change Language"
When I follow "English Change Language"
And I follow "Slovenian"
Then I should be on the dashboard
And I should see "Slovenian Spremeni Jezik"
Expand Down
2 changes: 1 addition & 1 deletion features/refinery/site_bar.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Feature: Site Bar
Given A Refinery user exists
And I am a logged in customer
When I go to the home page
Then I should not see "Switch to your website editor"
Then I should not see "Switch to your website editor"

0 comments on commit cda8e1f

Please sign in to comment.