Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
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();
        }
Ejemplo n.º 4
0
        //[Test]
        public void Home_TestesHomePage()
        {
            HomePageObjects  homePageObjects  = new HomePageObjects();
            LoginPageObjects loginPageObjects = new LoginPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();
        }
Ejemplo n.º 5
0
        public void Home_EscolherProjetoSayoan()
        {
            HomePageObjects  homePageObjects  = new HomePageObjects();
            LoginPageObjects loginPageObjects = new LoginPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());
            homePageObjects.VerificaProjeto();
            NUnit.Framework.Assert.Pass();
        }
Ejemplo n.º 6
0
        public void Issue_VerificarCampoObrigatorio()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.VerificarCampoObrigatorio();
            Assert.Pass();
        }
Ejemplo n.º 7
0
        public void Issue_BuscarIssueInexistente()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            UpdateIssuePageObjects  updateIssuePageObjects  = new UpdateIssuePageObjects();
            String ID = "9999999";


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();
            homePageObjects.ProcurarIssue(ID);
            homePageObjects.ValidacaoIssueInexiste(ID);
            Assert.Pass();
        }
Ejemplo n.º 8
0
        public void ViewIssues_FiltrarTarefaSeverity()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarIssue_Severity("minor");
            viewIssuesPageObjects.ValidarFiltroSeverity("mior");
            Assert.Pass();
        }
Ejemplo n.º 9
0
        public void ViewIssues_FiltrarTarefaPriority()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();
            homePageObjects.VerificaProjeto();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarIssue_Prioridade("urgent");
            viewIssuesPageObjects.ValidacaoFiltroTarefa_Priority("urgent");
            Assert.Pass();
        }
Ejemplo n.º 10
0
        public void Home_Verificar_ID_Vazio()
        {
            HomePageObjects      homePageObjects      = new HomePageObjects();
            LoginPageObjects     loginPageObjects     = new LoginPageObjects();
            MyAccountPageObjects myAccountPageObjects = new MyAccountPageObjects();


            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.EscolherProjeto(ConfigurationManager.AppSettings["Projeto"].ToString());
            homePageObjects.VerificaProjeto();

            homePageObjects.ProcurarIssue_Vazia();
            homePageObjects.Verifica_IssueVazia();
            NUnit.Framework.Assert.Pass();
        }
Ejemplo n.º 11
0
        public void Issue_DD_InsertSimple(string category, string reproducibility, string severity, string priority, string summary, string description)
        {
            //receber 6 parâmetros pelo DD e gerar os CT
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();


            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.InserirIssue_Simple(category, reproducibility, severity, priority, summary, description);
            Assert.Pass();
        }
Ejemplo n.º 12
0
        public void Issue_InsertIssuee_VerificaID()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();

            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary(); //Aqui você o sumário inserido
            //neste momento é inserido uma tarefa com uma summary random e ela é retornada para ser utilizada na busca
            String ID = reportIssuesPageObjects.PegarIssueInserida(summary);         //Aqui consegue o ID com o sumário

            Assert.Pass();
        }
Ejemplo n.º 13
0
        //[Test]
        public void Issue_InsertIssue_VerificarInsert()
        {
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            HomePageObjects         homePageObjects         = new HomePageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();



            loginPageObjects.Login();
            homePageObjects.VerificarAcessaLogin();

            homePageObjects.VerificaProjeto();
            homePageObjects.AcessarAbaReportIssue();

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            reportIssuesPageObjects.InserirTarefa();


            viewIssuesPageObjects.VerificarInsercao_Issue();
            Assert.Pass();
        }
Ejemplo n.º 14
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();
        }