Beispiel #1
0
 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");
 }
Beispiel #2
0
 public void Test_Login_as_Yahoo_user()
 {
     HomePageHelper.OpenLoginPage();
     AuthorizationHelper.AuthenticateAsYahooUser();
     Assert.IsTrue(AuthorizationHelper.IsUserAuthenticated());
 }