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.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/qa/qa/page/project/pipeline/index.rb b/qa/qa/page/project/pipeline/index.rb
index 32c108393b9..ce430a2a6ee 100644
--- a/qa/qa/page/project/pipeline/index.rb
+++ b/qa/qa/page/project/pipeline/index.rb
@@ -6,7 +6,13 @@ module QA::Page
end
def go_to_latest_pipeline
- first('.js-pipeline-url-link').click
+ css = '.js-pipeline-url-link'
+
+ link = wait(reload: false) do
+ first(css)
+ end
+
+ link.click
end
end
end