diff --git a/features/step_definitions/users_steps.rb b/features/step_definitions/users_steps.rb index 631b6af4a..14fa4f543 100644 --- a/features/step_definitions/users_steps.rb +++ b/features/step_definitions/users_steps.rb @@ -38,6 +38,7 @@ Given("I click on Reset Password link in the reset password email for user {stri fill_in 'user_email', with: email click_button 'Send me reset password instruction' Delayed::Worker.new.work_off + sleep 10 open_email(email) current_email.click_link 'Change my password' end