summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/helpers/login_helpers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/helpers/login_helpers.rb b/spec/support/helpers/login_helpers.rb
index f83f5c7bfde..d966fd13dca 100644
--- a/spec/support/helpers/login_helpers.rb
+++ b/spec/support/helpers/login_helpers.rb
@@ -52,6 +52,8 @@ module LoginHelpers
visit new_admin_session_path
fill_in 'user_password', with: user.password
click_button 'Enter Admin Mode'
+
+ wait_for_requests
end
def gitlab_sign_in_via(provider, user, uid, saml_response = nil)