Fix flaky projects template spec
What does this MR do and why?
Related to #444732 (closed)
We have a feature spec that makes an AJAX API call but doesn't call wait_for_requests
before the assertion. I think this may be why it is flaky. This MR adds wait_for_requests
before the assertions.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Peter Hegman