Implement lightweight trial registration identity verification page
What does this MR do and why?
Implement the lightweight_trial_registration_redesign experiment for the identity verification page. On this page, the experiment only affects UI for the candidate group.
Related to #538417, design: https://www.figma.com/design/NUoCmyVK4W7zi8yxxwCUih/Registration-Experiment?node-id=150-7994&t=Uv4Qwj0p430X61mt-0
References
Screenshots or screen recordings
| Verification steps | |||
|---|---|---|---|
| 1 Step | ![]() |
![]() |
![]() |
| 2 Steps | ![]() |
![]() |
![]() |
| 3 Steps | ![]() |
![]() |
![]() |
Screen recording
UntitledHow to set up and validate locally
- Setup to Simulate SaaS and restart GDK
- If logged in, log out
- Enable the experiment feature flag in the console:
Feature.enable(:lightweight_trial_registration_redesign) - Configure Arkose and TeleSign for verification. Both of their credentials are in 1Password
::Gitlab::CurrentSettings.update(arkose_labs_public_api_key: '****', arkose_labs_private_api_key: '****', arkose_labs_namespace: 'client')
::Gitlab::CurrentSettings.update(telesign_customer_xid: CUSTOMER_ID, telesign_api_key: API_KEY)
- Navigate to
/users/sign_up. (when the experiment is fully implemented, this should be/-/trial_registrations/new/. At this point, comment out line 21 inee/app/controllers/users/registrations_identity_verification_controller.rb) - Fill in the trial registration form and submit
- You should see the experiment candidate experience
- To see identity verification with multiple steps, after registration form submission, we need to update new user's risk band to 'Medium' or 'High' by doing:
> u = User.last
> risk_band = u.custom_attributes.by_key('arkose_risk_band').first
> risk_band.update(value: 'Medium') # or 'High'
- Alternatively, you can observe the process by running the feature specs with
WEBDRIVER_HEADLESS=0 bin/rspec ee/spec/features/registrations/identity_verification_spec.rb:409
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Roy Liu









