public RegistrationPage FillForm(User user)
 {
     EmailInput.Clear();
     EmailInput.Set(user.Email.Value);
     FullNameInput.Clear();
     FullNameInput.Set(user.FullName);
     PasswordInput.Clear();
     PasswordInput.Set(user.Password);
     ConfirmPasswordInput.Clear();
     ConfirmPasswordInput.Set(user.Password);
     return(this);
 }
 public RegistrationPage FillForm(string email, string fullName, string password, string cpassword)
 {
     EmailInput.Clear();
     EmailInput.Set(email);
     FullNameInput.Clear();
     FullNameInput.Set(fullName);
     PasswordInput.Clear();
     PasswordInput.Set(password);
     ConfirmPasswordInput.Clear();
     ConfirmPasswordInput.Set(cpassword);
     return(this);
 }
Пример #3
0
 public LoginPage FillForm(string email, string password)
 {
     LoginInput.Set(email);
     PasswordInput.Set(password);
     return(this);
 }