summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/pipeline/show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/pipeline/show.rb')
-rw-r--r--qa/qa/page/project/pipeline/show.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/page/project/pipeline/show.rb b/qa/qa/page/project/pipeline/show.rb
index b32d099d2b0..7f96b896c1d 100644
--- a/qa/qa/page/project/pipeline/show.rb
+++ b/qa/qa/page/project/pipeline/show.rb
@@ -72,6 +72,10 @@ module QA
has_element? :child_pipeline
end
+ def has_no_child_pipeline?
+ has_no_element? :child_pipeline
+ end
+
def click_job(job_name)
click_element(:job_link, text: job_name)
end