Skip to content

E2E: Update total_purchased_storage element

What does this MR do and why?

Similar to https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/7603, this MR updates the element used by total_purchased_storage in the GitLab E2E tests to be compatible with the new purchased storage card on the group usage quotas page introduced in !122505 (merged)

This will help fix purchase_storage_spec which currently fails when run against Staging: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/10344657

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. To run against staging, make sure to env variables GITLAB_USERNAME, GITLAB_PASSWORD, GITLAB_QA_USER_AGENT, GITLAB_ADMIN_USERNAME, GITLAB_ADMIN_PASSWORD, GITLAB_QA_ACCESS_TOKEN, GITLAB_QA_ADMIN_ACCESS_TOKEN, with QA_GITLAB_URL set to https://staging.gitlab.com. These values should be located in the Gitlab-QA 1Password vault.
  2. From the qa directory, run bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/purchase/purchase_storage_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Valerie Burton

Merge request reports