From 01ad4a04a4b94bd48eccbde1911aec0fa5e3a739 Mon Sep 17 00:00:00 2001 From: alexs Date: Wed, 21 Aug 2013 16:26:08 +1000 Subject: [PATCH] Bumped up the sleep time in the spec. --- spec/features/consumer/landing_page_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/consumer/landing_page_spec.rb b/spec/features/consumer/landing_page_spec.rb index de6a971282..5935f393b4 100644 --- a/spec/features/consumer/landing_page_spec.rb +++ b/spec/features/consumer/landing_page_spec.rb @@ -27,7 +27,7 @@ feature %q{ fill_in 'login_spree_user_email', :with => 'spree123@example.com' fill_in 'login_spree_user_password', :with => 'spree123' find(:xpath, '//input[contains(@value, "Login")][contains(@type, "submit")]').click - sleep 3 + sleep 4 page.should_not have_content("Invalid email or password") page.should have_content("Sign Out") end @@ -36,7 +36,7 @@ feature %q{ fill_in 'login_spree_user_email', :with => 'spree123@example.com.WRONG' fill_in 'login_spree_user_password', :with => 'spree123_WRONG' find(:xpath, '//input[contains(@value, "Login")][contains(@type, "submit")]').click - sleep 3 + sleep 4 page.should have_content("Invalid email or password") page.should_not have_content("Sign Out") end