Commit 49964c9e authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'fix-pipeline-commit-status-not-found' into 'master'

Check for pipeline first before status

See merge request gitlab-org/gitlab!49072
parents f7238cad f333bcf0
......@@ -31,6 +31,8 @@ module QA
end
def wait_for_latest_pipeline_status
wait_until(max_duration: 30, reload: true, sleep_interval: 5) { has_pipeline? }
wait_until(reload: false, max_duration: 360) do
within_element_by_index(:pipeline_commit_status, 0) { yield }
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