Add helper to wait for axios requests in frontend tests
We sometimes have the situation where we can't access the axios Promise to wait for a request to be completed (for example when it is called from a Vue life cycle hook). We should provide a helper that waits for a request to a given URL.
We can use an interceptor to implement this and use the mock adapter history to return early.