Fix flaky invite members shared examples
Related to #379261 (closed)
What does this MR do and why?
Fixes the flaky part of the inviting members shared examples by waiting for all requests to finish.
Requests were not finished thus the "Invited" tab in the members page was not loading for some examples.
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.
Edited by Jay Montal