diff --git a/qa/qa/page/component/members/invite_members_modal.rb b/qa/qa/page/component/members/invite_members_modal.rb
index ae51213b3e2589e3708c27aaa4e520e3b4fff584..876c5ba65b6e0d08fc463a103fb899893f51fef5 100644
--- a/qa/qa/page/component/members/invite_members_modal.rb
+++ b/qa/qa/page/component/members/invite_members_modal.rb
@@ -59,6 +59,10 @@ def invite_group(group_name, access_level = 'Guest', refresh_page: true)
 
               Support::WaitForRequests.wait_for_requests
 
+              # Needed as a workaround to help avoid race condition with initial search request
+              # https://gitlab.com/gitlab-org/gitlab/-/issues/349379
+              sleep 2
+
               search_and_select(group_name)
 
               set_access_level(access_level)