diff options
Diffstat (limited to 'spec/support/helpers/login_helpers.rb')
-rw-r--r-- | spec/support/helpers/login_helpers.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/helpers/login_helpers.rb b/spec/support/helpers/login_helpers.rb index cb880939b1c..92f6d673255 100644 --- a/spec/support/helpers/login_helpers.rb +++ b/spec/support/helpers/login_helpers.rb @@ -57,13 +57,13 @@ module LoginHelpers def gitlab_sign_in_via(provider, user, uid, saml_response = nil) mock_auth_hash_with_saml_xml(provider, uid, user.email, saml_response) visit new_user_session_path - click_link provider + click_button provider end def gitlab_enable_admin_mode_sign_in_via(provider, user, uid, saml_response = nil) mock_auth_hash_with_saml_xml(provider, uid, user.email, saml_response) visit new_admin_session_path - click_link provider + click_button provider end # Requires Javascript driver. @@ -103,7 +103,7 @@ module LoginHelpers check 'remember_me' if remember_me - click_link "oauth-login-#{provider}" + click_button "oauth-login-#{provider}" end def fake_successful_u2f_authentication |