Fix flaky spec spec/features/projects/clusters/applications_spec.rb
What does this MR do?
As we set the email before any polling/refresh takes place, this should fix the flakiness. Add wait_for_requests
to fix flakiness
Also this is a much more real-world scenario. The previous spec was merely testing that the email still appeared on the page without any persistence (it would have been replaced by persisted value on page refresh)
Fixes #227317 (closed)
Edited by Thong Kuah