Merge branch 'qa-268-fix-pipeline-spec' into 'master'
Fix default wait argument in QA Pipelines spec Closes gitlab-qa#268 See merge request gitlab-org/gitlab-ce!19517
This commit is contained in:
commit
7c179bf39e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue