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:37:26 PM * */ public class EnviarEmailSomenteCopiaTestCase extends ExpressoMailTestCase { @Test public void testa() throws Exception { super.composeEmail(); selenium.click(Campo.COPIA_1.getValue()); selenium.type(Campo.COPIA_CAMPO_1.getValue(), Valor.EMAIL_TESTE_1.getValue()); selenium.type(Campo.ASSUNTO_1.getValue(), Valor.ASSUNTO_SOMENTE_COPIA.getValue()); super.sendEmail(); super.assertMessage(Campo.MENSAGEM.getValue(), Mensagem.EMAIL_ENVIADO.getValue()); // Remove email da Caixa de Entrada, itens enviados e lixeira. super.removeEmail(Valor.ASSUNTO_SOMENTE_COPIA.getValue()); } }