Enable email_login_token for all gestionnaires

This commit is contained in:
Paul Chavard 2019-07-31 15:04:49 +02:00
parent 2af37f85e2
commit 0969b1f85f
8 changed files with 36 additions and 58 deletions

View file

@ -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