Refactor invite_group_to_project_spec to Run in More Jobs Outside Nightly
What does this MR do and why?
Refactors invite_group_to_project_spec
to allow it to run in more jobs outside just the nightly
QA runs.
A more stable approach to working around the race condition from this issue would be to retry entering the group name into the search field again if the incorrect results are returned, rather than trying to mimic typing and hoping it will be entered slow enough to not trigger the issue.
Also refactors the spec to remove the instance variable for user
and after
block for deleting resources, since we are managing this in our delete-test-resources
jobs
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. -
I have ran this against staging and verified the test passed
Edited by Valerie Burton