debian-mirror-gitlab/qa/lib/gitlab/page/group/settings/billing.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
833 B
Ruby
Raw Normal View History

2021-10-27 15:23:28 +05:30
# frozen_string_literal: true
module Gitlab
module Page
module Group
module Settings
class Billing < Chemlab::Page
2022-07-16 23:28:13 +05:30
h4 :billing_plan_header
2021-10-27 15:23:28 +05:30
link :start_your_free_trial
2022-07-16 23:28:13 +05:30
link :upgrade_to_premium
link :upgrade_to_ultimate
# Subscription details
strong :subscription_header
button :refresh_seats
# Usage
p :seats_in_subscription
p :seats_currently_in_use
link :see_seats_usage
p :max_seats_used
p :seats_owed
# Billing
p :subscription_start_date
p :subscription_end_date
2021-10-27 15:23:28 +05:30
2022-07-16 23:28:13 +05:30
def refresh_subscription_seats
refresh_seats
::QA::Support::WaitForRequests.wait_for_requests
end
2021-10-27 15:23:28 +05:30
end
end
end
end
end