Wait for requests to finish before running the ace JS
What does this MR do?
The user_edit_files_spec
uses the global ace
variable which could possibly be undefined
depending on how fast the tests run. This fixes that be waiting for the requests to finish.
What are the relevant issue numbers?
Closes #36191 (closed)