Perform a real search and wait longer for success in elasticsearch QA tests
What does this MR do?
This makes sure that the pre-test check of searching via elasticsearch actually does return valid results, rather than only accepting a query.
It can take time for the UI to reflect that elasticsearch is ready even if the API returns results, so this makes the test search via the API first, and then it retries the expect
steps when verifying UI search results, just to be safe.
See #43732 (closed), #35877 (closed)
Does this MR meet the acceptance criteria?
Conformity
Edited by Mark Lapierre