Remove trial toggle for all users who navigate to gitlab.com/users/sign_up/company/new with a query parameter of ?trial=true

What does this MR do and why?

Solves https://gitlab.com/gitlab-org/gitlab/-/issues/366983

Screenshots or screen recordings

trial=true trial=false
image image

How to set up and validate locally

  1. Setup prerequisites:
    1. Ensure GITLAB_SIMULATE_SAAS=true is in your environment and that you've restarted your services after setting it.
    2. Ensure that your license is up to date so that new users can be registered successfully (do we need steps documented for this?)
    3. Ensure the customers application is setup and working.
    4. Ensure admin approval for user registration is not required: (via the rails console)
      ApplicationSetting.first.update(require_admin_approval_after_user_signup: false)
    5. Ensure that email confirmations are not required: (via the rails console)
      ApplicationSetting.first.update(send_user_confirmation_email: false)
    6. Enable the following feature flags: (via the rails console)
      Feature.enable(:user_other_role_details)
      Feature.enable(:combined_registration)
      Feature.enable(:about_your_company_registration_flow)
    7. Ensure that any other feature flags that might impact the registration flows are disabled. (via the rails console)
    8. Visit http://localhost:3000/users/sign_up/company/new?trial=true or http://localhost:3000/users/sign_up/company/new

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 Minahil Nichols

Merge request reports

Loading