public void DadoCredenciaisValidas() { //arrange var resetPO = new ResetSenhaPO(driver); resetPO.Visitar(); resetPO.PreencheLogin("ana.lima"); resetPO.PreencheEmail("*****@*****.**"); //act resetPO.SubmeterFormulario(); //asssert Assert.Contains("Password Message Sent", driver.PageSource); }
public void DadoCredenciaisInvalidas() { //arrange var resetPO = new ResetSenhaPO(driver); resetPO.Visitar(); resetPO.PreencheLogin("maria"); resetPO.PreencheEmail("*****@*****.**"); //act resetPO.SubmeterFormulario(); //asssert Assert.Contains("APPLICATION ERROR #1903", driver.PageSource); }