Skip to content

When in the trial flow, hide intention question

Jay requested to merge jswain_remove_question_in_reg_flow into master

What does this MR do and why?

While in the registration flow, don't ask a user what they want to do (which allows the user to bypass the registration). Instead, continue their trial flow.

part of: #351142 (closed)

Screenshots or screen recordings

before after
Screen_Shot_2022-03-02_at_4.26.04_PM Screen_Shot_2022-03-02_at_4.30.00_PM

How to set up and validate locally

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

  1. Ensure your environment is acting as sass

  2. If your local environment isn't configured to communicate with the customers app, then stub the responses in the trials controller from GitlabSubscriptions::ApplyTrialService, GitlabSubscriptions::CreateHandRaiseLeadService and GitlabSubscriptions::CreateLeadService

  3. Enable the bypass_registration experiment: Feature.enable(:bypass_registration)

  4. Start at the trials_registrations page (http://localhost:3000/-/trial_registrations/new)

  5. After signing up confirm the "What would you like to do?" Radio input question isn't on the /users/sign_up/welcome screen

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 Jay

Merge request reports