/// <summary> /// The sign up functionality for new users /// </summary> /// <returns> /// The <see cref="bool"/>. /// </returns> public bool SignUp() { const string Password = "******"; var randomUsername = WtUtils.GetRandomUsername(); var retVal = SignUp(randomUsername, Password); // Remember the logged in user CurrentLoggedInUser = randomUsername; return(retVal); }
/// <summary> /// The sign up and login. /// </summary> /// <returns> /// The <see cref="bool"/>. /// </returns> public bool SignUpAndLogin() { try { const string Password = "******"; var newUsername = WtUtils.GetRandomUsername(); var signUpNewUser = SignUp(newUsername, Password); return(signUpNewUser); } catch (Exception ex) { StfLogger.LogError($"Something went wrong when sign up and login. Message : [{ex.Message}]"); throw; } }