Added implicit wait to portal tests