Commit 8815c342 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch '350115-wait-for-first-pipeline-created' into 'master'

Wait for first pipeline to be created

See merge request gitlab-org/gitlab!78093
parents 781e5969 dcc3d4a8
......@@ -42,7 +42,7 @@ module QA
before do
Flow::Login.sign_in
project.visit!
Support::Waiter.wait_until { project.pipelines.first[:status] == 'success' }
Support::Waiter.wait_until { !project.pipelines.empty? && project.pipelines.first[:status] == 'success' }
Page::Project::Menu.perform(&:go_to_pipeline_editor)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment