added waitForView in failed test