From 593640a08808fdd5635d087e583b2e78b89036af Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 30 May 2014 14:02:02 +0000 Subject: [PATCH] admin-categories: fix cucumber tests --- features/admin_categories.feature | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/features/admin_categories.feature b/features/admin_categories.feature index 296105e..75b6caf 100644 --- a/features/admin_categories.feature +++ b/features/admin_categories.feature @@ -40,11 +40,11 @@ Feature: manage categories Scenario: admin user could hide the category tree Given I follow "Administration" And I follow "Categories" - When I follow "Show" and wait while it hides + When I follow "Show" Then I should see "Vegetarian" And I should see "Steak" - When I follow "Hide" and wait while it hides - Then "Vegetarian" should not be visible within "div" + When I follow "Hide" + Then I should not see "Vegetarian" And "Steak" should not be visible within "div" @selenium @@ -52,7 +52,6 @@ Feature: manage categories Given the following category | parent | name | display_in_menu | | Steak | Pig | true | - And I am on the homepage When I follow "Administration" And I follow "Categories" Then I should see "Food Show" -- libgit2 0.21.2