public void Issue_InsertIssuee_AtribuirTarefa() { ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); HomePageObjects homePageObjects = new HomePageObjects(); UpdateIssuePageObjects updateIssuePageObjects = new UpdateIssuePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); homePageObjects.AcessarAbaReportIssue(); reportIssuesPageObjects.VerificarAcessaReportIssue(); String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido reportIssuesPageObjects.AcessarEdicaoIssue(summary); /* * feedback acknowledged confirmed assigned resolved closed * */ updateIssuePageObjects.AtribuirTarefa("sayoan.oliveira"); updateIssuePageObjects.Atualizar(); updateIssuePageObjects.VerificaAssign("sayoan.oliveira"); Assert.Pass(); }
public void Issue_InsertIssuee_FecharTarefaSemReproducao() { ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); HomePageObjects homePageObjects = new HomePageObjects(); UpdateIssuePageObjects updateIssuePageObjects = new UpdateIssuePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); homePageObjects.AcessarAbaReportIssue(); reportIssuesPageObjects.VerificarAcessaReportIssue(); String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido reportIssuesPageObjects.AcessarEdicaoIssue(summary); updateIssuePageObjects.AlterarReprodutibilidade("unable to reproduce"); updateIssuePageObjects.AtribuirNota("Impossível de reproduzir."); updateIssuePageObjects.AlterarStatus("closed"); updateIssuePageObjects.Atualizar(); updateIssuePageObjects.VerificaStatus("closed"); Assert.Pass(); }
public void Issue_InsertIssuee_FecharTarefaDuplicada() { ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); HomePageObjects homePageObjects = new HomePageObjects(); UpdateIssuePageObjects updateIssuePageObjects = new UpdateIssuePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); homePageObjects.AcessarAbaReportIssue(); reportIssuesPageObjects.VerificarAcessaReportIssue(); String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido reportIssuesPageObjects.AcessarEdicaoIssue(summary); updateIssuePageObjects.AlterarResolution("duplicate"); updateIssuePageObjects.AlterarStatus("closed"); updateIssuePageObjects.AtribuirNota("Tarefa Duplicada"); updateIssuePageObjects.Atualizar(); updateIssuePageObjects.VerificaStatus("closed"); Assert.Pass(); }
public void Issue_InsertIssuee_AlterarStatus() { ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects(); LoginPageObjects loginPageObjects = new LoginPageObjects(); HomePageObjects homePageObjects = new HomePageObjects(); UpdateIssuePageObjects updateIssuePageObjects = new UpdateIssuePageObjects(); loginPageObjects.Login(); homePageObjects.VerificarAcessaLogin(); homePageObjects.VerificaProjeto(); homePageObjects.AcessarAbaReportIssue(); reportIssuesPageObjects.VerificarAcessaReportIssue(); String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();//Aqui você o sumário inserido reportIssuesPageObjects.AcessarEdicaoIssue(summary); updateIssuePageObjects.AlterarStatus("confirmed"); updateIssuePageObjects.Atualizar(); }