Commit dcc3d4a8 authored by Tiffany Rea's avatar Tiffany Rea

Wait for first pipeline to be created

parent fad53f36
......@@ -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