prevent flaky tests, wait for link to be present

Change-Id: Icd9bc6ea8116b95ca5d4aa443272b4f3827bc09b