From 92391d1dbc3336c83b5871b390a8b2b0b61323a9 Mon Sep 17 00:00:00 2001
From: Roy Liu <rliu@gitlab.com>
Date: Mon, 4 Sep 2023 06:33:53 +0000
Subject: [PATCH] Resolve Flaky test: spec/features/invites_spec.rb

---
 spec/features/invites_spec.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/spec/features/invites_spec.rb b/spec/features/invites_spec.rb
index f0c52bd5f7b4f..939de930df8d9 100644
--- a/spec/features/invites_spec.rb
+++ b/spec/features/invites_spec.rb
@@ -31,6 +31,8 @@ def fill_in_sign_up_form(new_user, submit_button_text = 'Register')
 
     wait_for_all_requests
 
+    expect(page).to have_selector('.gl-field-success-outline')
+
     click_button submit_button_text
   end
 
@@ -195,8 +197,7 @@ def fill_in_welcome_form
         context 'when the user sign-up using a different email address' do
           let(:invite_email) { build_stubbed(:user).email }
 
-          it 'signs up and redirects to the activity page',
-            quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/414971' do
+          it 'signs up and redirects to the activity page' do
             fill_in_sign_up_form(new_user)
             fill_in_welcome_form
 
@@ -266,8 +267,7 @@ def fill_in_welcome_form
               allow(User).to receive(:allow_unconfirmed_access_for).and_return 2.days
             end
 
-            it 'signs up and redirects to the group activity page',
-              quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/414971' do
+            it 'signs up and redirects to the group activity page' do
               fill_in_sign_up_form(new_user)
               fill_in_welcome_form
 
-- 
GitLab