Enable email_login_token for all gestionnaires
This commit is contained in:
parent
2af37f85e2
commit
0969b1f85f
8 changed files with 36 additions and 58 deletions
|
@ -21,6 +21,10 @@ module FeatureHelpers
|
|||
fill_in :user_email, with: email
|
||||
fill_in :user_password, with: password
|
||||
|
||||
if sign_in_by_link
|
||||
Flipflop::FeatureSet.current.test!.switch!(:bypass_email_login_token, false)
|
||||
end
|
||||
|
||||
perform_enqueued_jobs do
|
||||
click_on 'Se connecter'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue