Fixes transient failure: waits for asyncronous update
What does this MR do?
Waits for asynchronous request to be made before checking the number of rows.
https://github.com/teamcapybara/capybara#asynchronous-javascript-ajax-and-friends
What are the relevant issue numbers?
Closes #2079 (closed)