Fix failing spec for MR 111159
What does this MR do and why?
This change fixes a "flappy" spec that fails in recently merged MR !111159 (merged)
see: https://gitlab.com/gitlab-org/gitlab/-/jobs/3751934515#L10756
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.
Related to #386308 (closed)
Edited by Carla Drago