예제 #1
0
        public void NavigateToRegistrationForm()
        {
            SignInButton.Click();

            Type(EnterValidEmailField, "*****@*****.**");

            CreateAnAccountButton.Click();
            RegistrationForm.Click();
        }
 public SignInPage EnterAndSubmitNewEmail()
 {
     EmailAdressInput.SendKeys(StringGenerator.RandomString());
     CreateAnAccountButton.Click();
     return(new SignInPage(driver));
 }
 public void SubmitValidEmail(string email)
 {
     LoginPageEmailField.SetText($"{email}@mydomain.com");
     CreateAnAccountButton.Click();
 }
예제 #4
0
 public void CreateAnAccountWithValidEmail()
 {
     SignInButton.Click();
     EmailAddressBar.SendKeys("*****@*****.**");
     CreateAnAccountButton.Click();
 }