Bumped up the sleep time in the spec.

This commit is contained in:
alexs
2013-08-21 16:26:08 +10:00
parent a623e2dee6
commit 01ad4a04a4

View File

@@ -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