1. 2
  1.  

  2. 2

    I generally use wait-for-it-type scripts in the ones that have dependencies. Cleaner to write the e2e_tests command as something like ./wait-for-it.sh web:8080 && nc -vz web 8080 and you can then boot it as a single command.

    This has the downside of adding a file to e2e_tests, but you can do it without modifying the actual test code.