Wait for API requests to finish in order_details_spec
Sleep inside orders/shipments_spec to also wait for an API response