def METHOD_NAME(self):
    """
    Waits for the admin to login successfully
    Raises:
        ROSAProdAdminLoginFailedException: in case of admin failed to log in cluster
    """
    for sample in TimeoutSampler(
        600, 10, self.cluster_admin_login, skip_tls_verify=True
    ):
        if "Login successful" in sample:
            logger.info(sample)
            return
        logger.warning("Login failed")
    raise ROSAProdAdminLoginFailedException