コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }