public void Test_Login_as_new_Yahoo_user() { AuthorizationHelper.AuthenticateAsYahooUser(); Assert.IsTrue(AuthorizationHelper.IsNewUserAuthenticated(), "User is not authenticated"); AuthorizationHelper.Logout(); Assert.IsTrue(AuthorizationHelper.IsUserLogout(), "User is not logout"); Assert.IsFalse(AuthorizationHelper.IsUserCookieExist(), "Cookies are not deleted"); }
public void Test_Login_as_Yahoo_user() { HomePageHelper.OpenLoginPage(); AuthorizationHelper.AuthenticateAsYahooUser(); Assert.IsTrue(AuthorizationHelper.IsUserAuthenticated()); }