List of add-ons scenarios and proposal for subscription creation and amendment

In light of the discussions that arose from [this](https://gitlab.com/gitlab-org/gitlab/-/issues/338546#note_674633581) and [this](https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3620) and with the aim of

- have clarity on how add-on purchases are supposed to behave (in CDot, GitLab and Zuora)
- have clear test scenarios we can use when manually probing the feature

here you find a table of the different scenarios that will need to be covered while completing the [CI Minutes](https://gitlab.com/groups/gitlab-org/-/epics/5391) and [Storage](https://gitlab.com/groups/gitlab-org/-/epics/5789) Epics.

All here refers to Saas.

### CI Minutes current scenarios

The following scenarios describe _how it currently_ works (IOW, CI Minutes are purchased via CDot and Plan via GitLab.com).

It is assumed that

- a **different** Group is created for each scenario
- Storage will behave the same as CI Minutes

| Scenario | Description | Current CDot | Current Zuora | Current GitLab |
|-|-|-|-|-|
| TC-1 | Buy `CI Minutes x 1` once from CDot, assign to Group (Free) | ![Screenshot_2021-09-21_at_14.59.24](/uploads/037c4d1b1c66a7051588126cc2e3b4e8/Screenshot_2021-09-21_at_14.59.24.png) | ![Screenshot_2021-09-21_at_15.00.55](/uploads/357530ed5c5d088b875b8a713aa90fd3/Screenshot_2021-09-21_at_15.00.55.png) | ![Screenshot_2021-09-21_at_15.00.19](/uploads/1fde429d295f25aee7bb41ecd9579560/Screenshot_2021-09-21_at_15.00.19.png) |
| TC-2 | Buy `CI Minutes x 1` twice, assign to the same Group (Free) | ![Screenshot_2021-09-21_at_15.08.38](/uploads/f9571830906bc58607d9e1988b1e4213/Screenshot_2021-09-21_at_15.08.38.png) | ![Screenshot_2021-09-21_at_15.09.41](/uploads/2aebdde4734e6a814a6e2c2053c73fe9/Screenshot_2021-09-21_at_15.09.41.png) | ![Screenshot_2021-09-21_at_15.08.53](/uploads/5b35d694d54abfa70937bd0024f91aa4/Screenshot_2021-09-21_at_15.08.53.png) |
| TC-3 | Buy `CI Minutes x 1` once, assign to Group and **after** buy a Premium Sub and assign it to Group | ![Screenshot_2021-09-21_at_15.15.45](/uploads/2c6e16269eb79bd3ddea1dcc6282d4a3/Screenshot_2021-09-21_at_15.15.45.png) | ![Screenshot_2021-09-21_at_15.16.30](/uploads/21df9514fbf85c87cfae81777db269cb/Screenshot_2021-09-21_at_15.16.30.png) | ![Screenshot_2021-09-21_at_15.14.11](/uploads/006f87fec01e891ee9c47fd6001bd4d5/Screenshot_2021-09-21_at_15.14.11.png) |
| TC-4 | Buy a Premium Plan and **after** buy `CI Minutes x 1` once and assign it to Group | ![Screenshot_2021-09-21_at_15.26.42](/uploads/5dc6327006ecfabc8a4101be57f72b39/Screenshot_2021-09-21_at_15.26.42.png) | ![Screenshot_2021-09-21_at_15.27.07](/uploads/69a1edb434744a6eb21499935b800bd6/Screenshot_2021-09-21_at_15.27.07.png) | ![Screenshot_2021-09-21_at_15.27.54](/uploads/13e5aa87e6d6c7da8ac207fd92217b8b/Screenshot_2021-09-21_at_15.27.54.png) |
| TC-5 | Buy a Premium Plan and **after** buy `CI Minutes x 1` from 'Buy more CI minutes' in the sub card | ![Screenshot_2021-09-21_at_15.33.29](/uploads/302ad5c2ba144f7f76d6006eb6bba7cb/Screenshot_2021-09-21_at_15.33.29.png) | ![Screenshot_2021-09-21_at_15.34.05](/uploads/3aad08f4a92dc7386a1b1a9cc3c7da1e/Screenshot_2021-09-21_at_15.34.05.png) | ![Screenshot_2021-09-21_at_15.34.39](/uploads/f7cab4e71f37a94e21be55ce71d74704/Screenshot_2021-09-21_at_15.34.39.png) |
| TC-6 | Buy `CI Minutes x 1` from CDot, assign to Group. Than buy  `CI Minutes x 1`from GitLab flow and assign it to the same group | ![](https://gitlab.com/gitlab-org/gitlab/uploads/cab81de4665e92360ed79ee375460aa6/Screenshot_2021-11-17_at_16.28.40.png) |N/A | ![](https://gitlab.com/gitlab-org/gitlab/uploads/1dfe7c19293665b4f0a50b80cd548f51/Screenshot_2021-11-17_at_16.28.54.png) |

Story points: 1.0