Add sleep to prevent missing element issue

This commit is contained in:
Kyle Drake 2015-03-31 13:28:00 -07:00
parent 28615bb1f7
commit ebc3254724

View file

@ -58,6 +58,7 @@ describe 'signup' do
page.must_have_content 'Welcome to Neocities'
Capybara.reset_sessions!
visit_signup
sleep 0.3
fill_in 'username', with: @site[:username]
fill_in 'password', with: @site[:password]
click_signup_button
@ -183,4 +184,4 @@ puts "$$$$$$$$$$$$$$$$$$$$$$ TODO FIX TAGS TESTS"
site.tags.first.name.must_equal 'one'
end
=end
end
end