Beispiel #1
0
 public void Test_Login_as_new_Google_user()
 {
     AuthorizationHelper.AuthenticateAsGoogleUser();
     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_Google_user()
 {
     HomePageHelper.OpenLoginPage();
     AuthorizationHelper.AuthenticateAsGoogleUser();
     Assert.IsTrue(AuthorizationHelper.IsUserAuthenticated());
 }