summaryrefslogtreecommitdiff
path: root/qa/qa/page
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-11 06:07:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-11 06:07:45 +0000
commitbac547dc784170c7d0e6a5ae14d0ff5d549c31ee (patch)
tree058a42678ff6f979a45c150c1be23974bce07443 /qa/qa/page
parent7873bb3c1a2870761c243ea4ebe96f249ad5a319 (diff)
downloadgitlab-ce-bac547dc784170c7d0e6a5ae14d0ff5d549c31ee.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page')
-rw-r--r--qa/qa/page/layout/performance_bar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/layout/performance_bar.rb b/qa/qa/page/layout/performance_bar.rb
index b35c37fdc34..4e144e67f12 100644
--- a/qa/qa/page/layout/performance_bar.rb
+++ b/qa/qa/page/layout/performance_bar.rb
@@ -21,7 +21,7 @@ module QA
has_element?(:performance_bar)
end
- def has_detailed_metrics?
+ def has_detailed_metrics?(count)
retry_until(sleep_interval: 1) do
all_elements(:detailed_metric_content, count: count).all? do |metric|
metric.has_text?(%r{\d+})