Commit 593640a08808fdd5635d087e583b2e78b89036af
1 parent
1d891d19
Exists in
master
and in
22 other branches
admin-categories: fix cucumber tests
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
features/admin_categories.feature
| @@ -40,11 +40,11 @@ Feature: manage categories | @@ -40,11 +40,11 @@ Feature: manage categories | ||
| 40 | Scenario: admin user could hide the category tree | 40 | Scenario: admin user could hide the category tree |
| 41 | Given I follow "Administration" | 41 | Given I follow "Administration" |
| 42 | And I follow "Categories" | 42 | And I follow "Categories" |
| 43 | - When I follow "Show" and wait while it hides | 43 | + When I follow "Show" |
| 44 | Then I should see "Vegetarian" | 44 | Then I should see "Vegetarian" |
| 45 | And I should see "Steak" | 45 | And I should see "Steak" |
| 46 | - When I follow "Hide" and wait while it hides | ||
| 47 | - Then "Vegetarian" should not be visible within "div" | 46 | + When I follow "Hide" |
| 47 | + Then I should not see "Vegetarian" | ||
| 48 | And "Steak" should not be visible within "div" | 48 | And "Steak" should not be visible within "div" |
| 49 | 49 | ||
| 50 | @selenium | 50 | @selenium |
| @@ -52,7 +52,6 @@ Feature: manage categories | @@ -52,7 +52,6 @@ Feature: manage categories | ||
| 52 | Given the following category | 52 | Given the following category |
| 53 | | parent | name | display_in_menu | | 53 | | parent | name | display_in_menu | |
| 54 | | Steak | Pig | true | | 54 | | Steak | Pig | true | |
| 55 | - And I am on the homepage | ||
| 56 | When I follow "Administration" | 55 | When I follow "Administration" |
| 57 | And I follow "Categories" | 56 | And I follow "Categories" |
| 58 | Then I should see "Food Show" | 57 | Then I should see "Food Show" |