diff --git a/qa/qa/specs/features/browser_ui/4_verify/ci_variable/prefill_variables_spec.rb b/qa/qa/specs/features/browser_ui/4_verify/ci_variable/prefill_variables_spec.rb
index e80c969a68d77efe5ca100bfb0c200fca1f45ee0..9fbb5e3acb42016b6e6967f575bf55c2b1eccacd 100644
--- a/qa/qa/specs/features/browser_ui/4_verify/ci_variable/prefill_variables_spec.rb
+++ b/qa/qa/specs/features/browser_ui/4_verify/ci_variable/prefill_variables_spec.rb
@@ -40,6 +40,7 @@ module QA
       before do
         Flow::Login.sign_in
         project.visit!
+        Support::Waiter.wait_until(message: 'Wait for pipeline creation') { project.pipelines.length == 1 }
 
         # Navigate to Run Pipeline page
         Page::Project::Menu.perform(&:go_to_pipelines)