Create top-level group with non gitlab-qa user
What does this MR do and why?
Address issue - #350322 (closed)
Test groups created in fulfillment section cannot be removed via API calls, due to being linked to paid subscriptions. Test data is piling up on staging for gitlab-qa user.
This MR changes user login order in test before block, so that the test group is created by test user instead of gitlab-qa user.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Staging pipeline result with this change - https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/6461454
After pipeline finished, a API request on staging GET https://staging.gitlab.com/api/v4/groups?owned=true&top_level_only=true&search=test-group-fulfillment with gitlab-qa user, returns empty result.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.