[ni] fix e2e tests
context:
- with MR !228 (merged), we introduced a way to use ngrok as a proxy for twilio to reach our local dev env that didn't rely on a static (paid) reserverd subdomain
- however, our (rarely run) e2e tests relied on that static subdomain to find the server to exercise the registrar API
changes:
- modify the entrypint script for the e2e test runner docker container to scrape the ngrok url proxying traffic to the signalboost container before starting up, and passes its value as SIGNALBOOST_HOST_URL to the env running the test.
- point the API tests to this new (dynamic) value of SIGNALBOOST_HOST_URL instead of the old (static) value
- as a nice side-effect: add call to
check-availability
to make sure the app is running before it starts the test suite (to avoid flaky tests)