package br.gov.serpro.cte.email.compor; import org.junit.Test; import br.gov.serpro.cte.common.ExpressoMailTestCase; /** * @author L.F.Estivalet (Serpro) * * Created on Nov 18, 2010 at 4:31:43 PM * */ public class EnviarEmailCopiaOcultaTestCase extends ExpressoMailTestCase { @Test public void testa() throws Exception { super.composeEmail(getValor("email.teste.1"), getValor("assunto.copia.oculta"), getValor("texto.email.copia.oculta")); selenium.click(getCampo("email.copia.oculta.1")); selenium.type(getCampo("email.copia.oculta.campo.1"), getValor("email.teste.3")); super.sendEmail(); super.assertMessage(getCampo("email.mensagem"), getMensagem("email.enviado")); // Remove email da Caixa de Entrada, itens enviados e lixeira. // TODO REVISAR! // super.removeEmail(getValor("assunto.copia.oculta")); } }