summaryrefslogtreecommitdiff
path: root/spec/support/helpers/login_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/login_helpers.rb')
-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 44237b821c3..5fde80e6dc9 100644
--- a/spec/support/helpers/login_helpers.rb
+++ b/spec/support/helpers/login_helpers.rb
@@ -101,6 +101,8 @@ module LoginHelpers
fill_in "user_password", with: (password || user.password)
check 'user_remember_me' if remember
+ wait_for_all_requests
+
find('[data-testid="sign-in-button"]:enabled').click
if two_factor_auth