Skip to content

Fix and update user onboarding flow

Sanad Liaquat requested to merge qa-shl-prepare-register-spec-for-staging into master

What does this MR do and why?

Describe in detail what your merge request does and why.

  • Update register_spec to be able to work through the onboarding flow on live environments.
  • Allow setting a user's email domain.
  • Fix some qa selectors by placing them on the enclosing element of the radio because the element overlaps the radio.

Related to: gitlab-org/quality/quality-engineering/team-tasks#1605

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

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

Example below:

  1. Enable SaaS mode on your local to see the onboarding page on signup:
    export GITLAB_SIMULATE_SAAS=1
  2. Start the GDK
    gdk start
  3. Run the test from the qa directory:
    QA_GITLAB_URL=http://gdk.test:3000 GITLAB_QA_ADMIN_ACCESS_TOKEN="YOUR_ADMIN_ACCESS_TOKEN" QA_DEBUG=true WEBDRIVER_HEADLESS=false bundle exec rspec qa/specs/features/browser_ui/1_manage/login/register_spec.rb:48

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 Sanad Liaquat

Merge request reports

Loading