Removed waitForCondition assertion