Skip to content

E2E: Add Back refresh_subscription_seats Method

What does this MR do and why?

Addresses the test failures in https://gitlab.com/gitlab-org/gitlab/-/issues/466675

The refresh_subscription_seats method was accidentally removed as part of !155644 (merged). This MR adds the method back so that usage_quotas_seats_spec.rb can continue to use it.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Note: This test is only configured to run against Staging and Staging Canary

  1. Export the following QA env variables in your local GDK. The secret values can be found in Google Secret Manager or in the Ops Quality group's CI/CD variables.
export GITLAB_USERNAME=gitlab-qa
export GITLAB_PASSWORD=<secret>
export GITLAB_QA_USER_AGENT=<secret>
export GITLAB_ADMIN_USERNAME=gitlab-qa-bot
export GITLAB_ADMIN_PASSWORD=<secret>
export GITLAB_QA_ACCESS_TOKEN=<secret>
export GITLAB_QA_ADMIN_ACCESS_TOKEN=<secret>
export QA_GITLAB_URL=https://staging.gitlab.com
  1. cd to qa directory and run the following command:
bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/utilization/usage_quotas_seats_spec.rb

Merge request reports