public void SkipSignInComSucesso() { #region Scenario IndexSteps.ClickSkipSignIn(driver); Assert.IsTrue(driver.Url.Contains("Register"), "Sign In realizado com sucesso"); #endregion }
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 }