diff --git a/internal/suites/action_totp.go b/internal/suites/action_totp.go index bf3d16bcf..d71b7712d 100644 --- a/internal/suites/action_totp.go +++ b/internal/suites/action_totp.go @@ -31,7 +31,7 @@ func (rs *RodSession) doEnterOTP(t *testing.T, page *rod.Page, code string) { inputs := rs.WaitElementsLocatedByID(t, page, "otp-input input") for i := 0; i < len(code); i++ { - _ = inputs[i].Input(string(code[i])) + _ = inputs[i].MustPress(rune(code[i])) } }