Wait for active XHR/fetch requests to complete.
Step pattern
When (I |we )*wait for AJAX to finishExamples
Example #1
When I wait for AJAX to finishExample #2
And I wait for AJAX to finishExample #3
When we wait for AJAX to finishExample #4
And wait for AJAX to finish