Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/lib/gitlab/page/group/settings/usage_quotas.rb')
-rw-r--r--qa/lib/gitlab/page/group/settings/usage_quotas.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/qa/lib/gitlab/page/group/settings/usage_quotas.rb b/qa/lib/gitlab/page/group/settings/usage_quotas.rb
index a6d9cfa7846..ce540b5ee56 100644
--- a/qa/lib/gitlab/page/group/settings/usage_quotas.rb
+++ b/qa/lib/gitlab/page/group/settings/usage_quotas.rb
@@ -50,6 +50,12 @@ module Gitlab
additional_ci_minutes[/(\d+){2}/]
end
+ def additional_ci_minutes_added?
+ # When opening the Usage quotas page, Seats quota tab is opened briefly even when url is to a different tab
+ ::QA::Support::WaitForRequests.wait_for_requests
+ additional_ci_minutes?
+ end
+
# Waits and Checks if storage available alert presents on the page
#
# @return [Boolean] True if the alert presents, false if not after 5 second wait
@@ -76,12 +82,6 @@ module Gitlab
purchased_usage_total[/(\d+){2}.\d+/].to_f
end
-
- def additional_ci_minutes_added?
- # When opening the Usage quotas page, Seats quota tab is opened briefly even when url is to a different tab
- ::QA::Support::WaitForRequests.wait_for_requests
- additional_ci_minutes?
- end
end
end
end