Commit d3659575 authored by Dylan Griffith's avatar Dylan Griffith

Fix default wait argument in QA Pipelines spec

parent 10fd34ba
......@@ -24,10 +24,10 @@ module QA::Page
end
end
def has_build?(name, status: :success, wait:)
def has_build?(name, status: :success, wait: nil)
within('.pipeline-graph') do
within('.ci-job-component', text: name) do
has_selector?(".ci-status-icon-#{status}", wait: wait)
has_selector?(".ci-status-icon-#{status}", { wait: wait }.compact)
end
end
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