Commit 8b767269 authored by Mike Greiling's avatar Mike Greiling

accept modal confirm dialog when disabling 2FA

parent 6c5e20c1
...@@ -7,7 +7,7 @@ feature 'Admin disables 2FA for a user' do ...@@ -7,7 +7,7 @@ feature 'Admin disables 2FA for a user' do
edit_user(user) edit_user(user)
page.within('.two-factor-status') do page.within('.two-factor-status') do
click_link 'Disable' accept_confirm { click_link 'Disable' }
end end
page.within('.two-factor-status') do page.within('.two-factor-status') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment