Skip to content

Fix flaky and quarantined project mirror specs

Stan Hu requested to merge sh-fix-flaky-mirror-specs into master

What does this MR do and why?

The tests were failing intermittently because they would input the URL and submit the data faster than the JavaScript was able to update the internal field. This caused a blank URL to be submitted on occasion. To make this specs more reliable, ensure the hidden URL field is updated with the right value before clicking the "Save changes" button.

This failed in https://gitlab.com/gitlab-org/gitlab/-/jobs/4164769751. A similar problem was fixed in other merge requests:

Relates to #408519 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports