mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-27 17:30:32 +08:00
adds sleep time after Delayed::Worker.new.work_off
This commit is contained in:
parent
331823c2fb
commit
6d56377eb0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
fill_in 'user_email', with: email
|
||||||
click_button 'Send me reset password instruction'
|
click_button 'Send me reset password instruction'
|
||||||
Delayed::Worker.new.work_off
|
Delayed::Worker.new.work_off
|
||||||
|
sleep 10
|
||||||
open_email(email)
|
open_email(email)
|
||||||
current_email.click_link 'Change my password'
|
current_email.click_link 'Change my password'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue