Exemple #1
0
 public void SkipSignInComSucesso()
 {
     #region Scenario
     IndexSteps.ClickSkipSignIn(driver);
     Assert.IsTrue(driver.Url.Contains("Register"), "Sign In realizado com sucesso");
     #endregion
 }
Exemple #2
0
        public void CadastroComSucesso(string firstName, string lastName, string email, string telefone, string pais, string ano, int mes, string dia, string senha, string confirmaSenha)
        {
            #region Scenario
            IndexSteps.ClickSkipSignIn(driver);

            RegisterSteps.SetFirstName(driver, firstName);
            RegisterSteps.SetLastName(driver, lastName);
            RegisterSteps.SetEmailAddress(driver, email);
            RegisterSteps.SetPhone(driver, telefone);
            RegisterSteps.SetGenderMale(driver);
            RegisterSteps.SetCountryByText(driver, pais);
            RegisterSteps.SetDathOfBirthYearByText(driver, ano);
            RegisterSteps.SetDathOfBirthMonthByText(driver, mes);
            RegisterSteps.SetDathOfBirthDayByText(driver, dia);
            RegisterSteps.SetPassword(driver, senha);
            RegisterSteps.SetConfirmPassword(driver, confirmaSenha);
            RegisterSteps.ClickSubmit(driver);

            Assert.IsTrue(WebTableSteps.EditIsEnabled(driver));
            #endregion
        }