Skip to content

E2E: Remove Tests and Code Related to GitLab Purchase Flows

Valerie Burton requested to merge e2e-remove-gitlab-purchase-flows into master

What does this MR do and why?

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/466088

This MR removes the Fulfillment E2E tests, pages and other framework code related to the GitLab purchase flow in order to prepare for the migration to move all purchase flows to CustomersDot. Corresponding E2E test coverage has either moved / is in the process of being moved to CustomersDot E2E tests or lower level specs where applicable. For a more detailed breakdown of the E2E test migration plan, please see https://gitlab.com/groups/gitlab-org/-/epics/13962#migration-plan.

Important: This MR will need to be merged before the feature flags https://gitlab.com/gitlab-org/gitlab/-/issues/463210 or https://gitlab.com/gitlab-org/gitlab/-/issues/463211 are enabled globally in Staging in order to prevent stale test failures

List of Tests Removed

Note: Unused data-testid selectors that had been removed in this MR will be removed from the frontend in a follow-up MR, in order to help keep MRs smaller for reviewing

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

A test Staging pipeline with these changes can be found here: https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/3470411

This MR involves removing tests and related code, but if you would like to run a test that is related to one of the pages updated in this MR, you can follow the steps below.

Note that most of the remaining tests affected by this change can only target Staging

  1. Export the following QA variables. Secrets can be found in the Quality Ops Staging project'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
export QA_DEBUG=true
export WEBDRIVER_HEADLESS=false
  1. cd to qa and run the following, as an example:
bundle exec rspec qa/specs/features/ee/browser_ui/11_fulfillment/saas_user_limit_experience_spec.rb
Edited by Valerie Burton

Merge request reports