Commit 593640a08808fdd5635d087e583b2e78b89036af

Authored by Rodrigo Souto
1 parent 1d891d19

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 40 Scenario: admin user could hide the category tree
41 41 Given I follow "Administration"
42 42 And I follow "Categories"
43   - When I follow "Show" and wait while it hides
  43 + When I follow "Show"
44 44 Then I should see "Vegetarian"
45 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 48 And "Steak" should not be visible within "div"
49 49  
50 50 @selenium
... ... @@ -52,7 +52,6 @@ Feature: manage categories
52 52 Given the following category
53 53 | parent | name | display_in_menu |
54 54 | Steak | Pig | true |
55   - And I am on the homepage
56 55 When I follow "Administration"
57 56 And I follow "Categories"
58 57 Then I should see "Food Show"
... ...