Beispiel #1
0
        public void Issue_AtribuirSayoan()
        {
            HomePageObjects         homePageObjects         = new HomePageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();

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

            reportIssuesPageObjects.VerificarAcessaReportIssue();
            //Obriga inserir uma tarefa
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();

            //Aplicar filtro
            viewIssuesPageObjects.SelecionarTudo();
            viewIssuesPageObjects.AtribuirSayoan();
            viewIssuesPageObjects.VerificaAtribuicaoSayoan();
            Assert.Pass();
        }
Beispiel #2
0
        public void Issue_FiltrarSemRetorno()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.FiltrarSemRetorno();
            Assert.Pass();
        }
Beispiel #3
0
        public void Issue_GerarPermalink()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();

            loginPageObjects.Login();

            homePageObjects.VerificarAcessaLogin();
            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.AcessarPermalink();  //Clicar botão Permalink
            viewIssuesPageObjects.VerificaPermalink(); //Trocar de aba e verificar Tela
            Assert.Pass();
        }
Beispiel #4
0
        public void Home_VerificaAcessoViewIssues()
        {
            HomePageObjects       homePageObjects       = new HomePageObjects();
            LoginPageObjects      loginPageObjects      = new LoginPageObjects();
            ViewIssuesPageObjects viewIssuesPageObjects = new ViewIssuesPageObjects();


            loginPageObjects.Login();

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

            homePageObjects.AcessarAbaViewIssue();
            viewIssuesPageObjects.VerificaAcessoViewIssues();
            NUnit.Framework.Assert.Pass();
        }
        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();
        }
        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();
        }
Beispiel #7
0
        public void Issue_ExclusaoTotal()
        {
            HomePageObjects         homePageObjects         = new HomePageObjects();
            LoginPageObjects        loginPageObjects        = new LoginPageObjects();
            ViewIssuesPageObjects   viewIssuesPageObjects   = new ViewIssuesPageObjects();
            ReportIssuesPageObjects reportIssuesPageObjects = new ReportIssuesPageObjects();

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

            homePageObjects.AcessarAbaReportIssue();
            reportIssuesPageObjects.VerificarAcessaReportIssue();
            //Obriga inserir uma tarefa e verifica se foi excluída
            String summary = reportIssuesPageObjects.InserirTarefa_RetornoSummary();

            homePageObjects.AcessarAbaViewIssue();

            viewIssuesPageObjects.VerificaAcessoViewIssues();
            viewIssuesPageObjects.SelecionarTudo();
            viewIssuesPageObjects.Excluir();

            viewIssuesPageObjects.VerificaZero();
            Assert.Pass();
        }