Update filled in field for two_factor auth to use id.
This commit is contained in:
parent
c2766614dd
commit
091f4cb26a
|
@ -29,7 +29,7 @@ feature 'Login', feature: true do
|
|||
|
||||
describe 'with two-factor authentication' do
|
||||
def enter_code(code)
|
||||
fill_in 'Two-Factor Authentication code', with: code
|
||||
fill_in 'user_otp_attempt', with: code
|
||||
click_button 'Verify code'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue