User can upgrade gitlab account from profile/billing page
Test Setup
- Create a gitlab
user
via gitlab API endpoint POST api/v4/users
- Create a customer portal
customer
using API endpoint POST api/customers
, account linked through uid
and email
Test step and validations
- Log into gitlab using
user
credential
- navigate to setting -> billing page
- choose
bronze
plan and click upgrade button
- verify page shows
link account
link
- click on
link account
, verify page redirects to /plan
, with user logged in
- click on
buy bronze
plan button
- verify plan choice box shows up, and chooses to buy gitab.com plan
- page redirects to order page, choose personal plan from dropdown list and confirm
- page redirects to checkout page, verify
quantity
and plan price
is correct
- fill in valid credit card info on checkout, and click confirm button
- verify order successfully processed
- go back to gitlab setting -> billing page, verify current plan successfully updated