mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
Add sleep to prevent missing element issue
This commit is contained in:
parent
28615bb1f7
commit
ebc3254724
1 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ describe 'signup' do
|
||||||
page.must_have_content 'Welcome to Neocities'
|
page.must_have_content 'Welcome to Neocities'
|
||||||
Capybara.reset_sessions!
|
Capybara.reset_sessions!
|
||||||
visit_signup
|
visit_signup
|
||||||
|
sleep 0.3
|
||||||
fill_in 'username', with: @site[:username]
|
fill_in 'username', with: @site[:username]
|
||||||
fill_in 'password', with: @site[:password]
|
fill_in 'password', with: @site[:password]
|
||||||
click_signup_button
|
click_signup_button
|
||||||
|
|
Loading…
Add table
Reference in a new issue