diff options
Diffstat (limited to 'qa/qa/page/layout/performance_bar.rb')
-rw-r--r-- | qa/qa/page/layout/performance_bar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/page/layout/performance_bar.rb b/qa/qa/page/layout/performance_bar.rb index 4e144e67f12..c593783a730 100644 --- a/qa/qa/page/layout/performance_bar.rb +++ b/qa/qa/page/layout/performance_bar.rb @@ -21,9 +21,9 @@ module QA has_element?(:performance_bar) end - def has_detailed_metrics?(count) + def has_detailed_metrics?(minimum_count) retry_until(sleep_interval: 1) do - all_elements(:detailed_metric_content, count: count).all? do |metric| + all_elements(:detailed_metric_content, minimum: minimum_count).all? do |metric| metric.has_text?(%r{\d+}) end end |