Example #1
0
        public void consultarManifestacaoPorData()
        {
            ManifestacaoPage manifestacao = new ManifestacaoPage(driver);

            manifestacao.selecionarMenuConsultarManifestacao();
            manifestacao.consultarManifestacaoPorData("01/07/2021", "30/07/2021");

            string textoValidacao = driver.FindElement(By.XPath("//*[@id='tableManifest']/tbody/tr[1]/td[5]")).Text;

            Assert.That(textoValidacao.Contains("26/07/2021"));
        }
Example #2
0
        public void consultarManifestacaoPorNumero()
        {
            ManifestacaoPage manifestacao = new ManifestacaoPage(driver);

            manifestacao.selecionarMenuConsultarManifestacao();
            manifestacao.consultarManifestacaoPorNumero("2021.000321");

            string textoValidacao = driver.FindElement(By.XPath("//*[@id='tableManifest']/tbody/tr/td[1]")).Text;

            Assert.AreEqual("2021.000321", textoValidacao);
        }