use waitUntil condition to avoid issue with slowness when test i splayed