summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/pipeline/index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/pipeline/index.rb')
-rw-r--r--qa/qa/page/project/pipeline/index.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/page/project/pipeline/index.rb b/qa/qa/page/project/pipeline/index.rb
index 19d83ecc4f4..68850d989b1 100644
--- a/qa/qa/page/project/pipeline/index.rb
+++ b/qa/qa/page/project/pipeline/index.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module QA::Page
module Project::Pipeline
class Index < QA::Page::Base
@@ -5,7 +7,7 @@ module QA::Page
element :pipeline_link, 'class="js-pipeline-url-link"' # rubocop:disable QA/ElementWithPattern
end
- def go_to_latest_pipeline
+ def click_on_latest_pipeline
css = '.js-pipeline-url-link'
link = wait(reload: false) do